@@ -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: