From 39a546d78db0963d780ef6c5e1d551e4207a94f5 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 1 Apr 2021 11:33:15 -0700 Subject: [PATCH] gcc: obey EXTERNAL_ENABLED in the bbappend Signed-off-by: Christopher Larson --- core/recipes-devtools/gcc/gcc_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/recipes-devtools/gcc/gcc_%.bbappend b/core/recipes-devtools/gcc/gcc_%.bbappend index bd3b9b1..9e923de 100644 --- a/core/recipes-devtools/gcc/gcc_%.bbappend +++ b/core/recipes-devtools/gcc/gcc_%.bbappend @@ -1,7 +1,7 @@ # FIXME: resolve gcc version mismatch issues with ${libdir}/gcc/*/ # filesystem paths python () { - if d.getVar('TCMODE', True).startswith('external'): + if d.getVar('EXTERNAL_ENABLED'): # unwind.h will come from libgcc-external, we don't want to try to pull it # from the cross area of the sysroot inst = d.getVar('do_install', False).splitlines()