From: Adrian Freihofer <[email protected]> Looks like TOOLCHAIN is the correct variable to determine the toolchain used by a recipe, not TCOVERRIDE.
Signed-off-by: Adrian Freihofer <[email protected]> --- scripts/lib/devtool/ide_sdk.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index 9bccd76f0c..07f5552758 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -416,7 +416,7 @@ class RecipeModified: self.staging_incdir = None self.strip_cmd = None self.target_arch = None - self.tcoverride = None + self.toolchain = None self.topdir = None self.workdir = None # Service management @@ -502,7 +502,7 @@ class RecipeModified: recipe_d.getVar('STAGING_INCDIR')) self.strip_cmd = recipe_d.getVar('STRIP') self.target_arch = recipe_d.getVar('TARGET_ARCH') - self.tcoverride = recipe_d.getVar('TCOVERRIDE') + self.toolchain = recipe_d.getVar('TOOLCHAIN') self.topdir = recipe_d.getVar('TOPDIR') self.workdir = os.path.realpath(recipe_d.getVar('WORKDIR')) @@ -673,7 +673,7 @@ class RecipeModified: @property def gdb_pretty_print_scripts(self): if self._gdb_pretty_print_scripts is None: - if self.tcoverride == "toolchain-gcc": + if self.toolchain == "gcc": gcc_python_helpers_pattern = os.path.join(self.recipe_sysroot, "usr", "share", "gcc-*", "python") gcc_python_helpers_dirs = glob.glob(gcc_python_helpers_pattern) if gcc_python_helpers_dirs: -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233439): https://lists.openembedded.org/g/openembedded-core/message/233439 Mute This Topic: https://lists.openembedded.org/mt/118391917/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
