From 3902c43070a5f8019b8411318a46dc2f70e7a4e4 Mon Sep 17 00:00:00 2001 From: Serge Semin Date: Wed, 4 Apr 2018 01:45:28 +0500 Subject: [PATCH] meta-environment{,-extsdk}: don't include -B${gcc_bindir} in emitted TUNE_CC_ARCH Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently to TARGET_CC_ARCH, since it consists of local machine toolchain paths. Signed-off-by: Christopher Larson --- core/recipes-core/meta/meta-environment-extsdk.bbappend | 4 ++++ core/recipes-core/meta/meta-environment.bbappend | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 core/recipes-core/meta/meta-environment-extsdk.bbappend create mode 100644 core/recipes-core/meta/meta-environment.bbappend diff --git a/core/recipes-core/meta/meta-environment-extsdk.bbappend b/core/recipes-core/meta/meta-environment-extsdk.bbappend new file mode 100644 index 0000000..dabfa15 --- /dev/null +++ b/core/recipes-core/meta/meta-environment-extsdk.bbappend @@ -0,0 +1,4 @@ + +# Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently +# to TARGET_CC_ARCH, since it consists of local machine toolchain paths. +TUNE_CCARGS_remove = "-B${gcc_bindir}" diff --git a/core/recipes-core/meta/meta-environment.bbappend b/core/recipes-core/meta/meta-environment.bbappend new file mode 100644 index 0000000..dabfa15 --- /dev/null +++ b/core/recipes-core/meta/meta-environment.bbappend @@ -0,0 +1,4 @@ + +# Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently +# to TARGET_CC_ARCH, since it consists of local machine toolchain paths. +TUNE_CCARGS_remove = "-B${gcc_bindir}"