diff options
author | Jacob Kroon <jacob.kroon@gmail.com> | 2016-07-28 12:56:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-04 15:22:22 +0100 |
commit | c00346d80faf50aff141f63387dd5de8c26112f5 (patch) | |
tree | b228ac2c6205bc61d4c766b12bb2874e55836fa5 /meta/classes/toolchain-scripts.bbclass | |
parent | 6cfd86ff2f89e72517356796b349ceacf5579e4f (diff) | |
download | poky-c00346d80faf50aff141f63387dd5de8c26112f5.tar.gz |
bitbake.conf/toolchain-scripts.bbclass: Remove debug prefix mappings in SDK
CFLAGS/CXXFLAGS in the SDK environment script adds debug-prefix mappings
that include staging area/work directories. Remove them since the SDK
shouldn't be aware of them.
(From OE-Core rev: 7918e73e9c5fe8c8c1c1d341eaa42f2f7d3ddb69)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 32d8c32309..57874f38dc 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -6,6 +6,9 @@ REAL_MULTIMACH_TARGET_SYS ?= "${MULTIMACH_TARGET_SYS}" | |||
6 | TARGET_CC_ARCH_append_libc-uclibc = " -muclibc" | 6 | TARGET_CC_ARCH_append_libc-uclibc = " -muclibc" |
7 | TARGET_CC_ARCH_append_libc-musl = " -mmusl" | 7 | TARGET_CC_ARCH_append_libc-musl = " -mmusl" |
8 | 8 | ||
9 | # default debug prefix map isn't valid in the SDK | ||
10 | DEBUG_PREFIX_MAP = "" | ||
11 | |||
9 | # This function creates an environment-setup-script for use in a deployable SDK | 12 | # This function creates an environment-setup-script for use in a deployable SDK |
10 | toolchain_create_sdk_env_script () { | 13 | toolchain_create_sdk_env_script () { |
11 | # Create environment setup script. Remember that $SDKTARGETSYSROOT should | 14 | # Create environment setup script. Remember that $SDKTARGETSYSROOT should |