From: Adrian Freihofer Date: Mon, 6 Apr 2026 22:10:33 +0000 (+0200) Subject: devtool: ide-sdk: use TOOLCHAIN not TCOVERRIDE X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=83b100bf2ef123457d07c81a8cf9b448cefd2b13;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git devtool: ide-sdk: use TOOLCHAIN not TCOVERRIDE Looks like TOOLCHAIN is the correct variable to determine the toolchain used by a recipe, not TCOVERRIDE. Signed-off-by: Adrian Freihofer Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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: