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/conf | |
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/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index af3b1819be..900d2fe259 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -549,11 +549,11 @@ EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} " | |||
549 | ################################################################## | 549 | ################################################################## |
550 | # Optimization flags. | 550 | # Optimization flags. |
551 | ################################################################## | 551 | ################################################################## |
552 | DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types \ | 552 | DEBUG_PREFIX_MAP ?= "-fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ |
553 | -fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ | 553 | -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ |
554 | -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ | 554 | -fdebug-prefix-map=${STAGING_DIR_HOST}= \ |
555 | -fdebug-prefix-map=${STAGING_DIR_HOST}= \ | ||
556 | " | 555 | " |
556 | DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types ${DEBUG_PREFIX_MAP}" | ||
557 | 557 | ||
558 | # Disabled until the option works properly -feliminate-dwarf2-dups | 558 | # Disabled until the option works properly -feliminate-dwarf2-dups |
559 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" | 559 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" |