Skip to contentSkip to conversation

bitbake.conf: Use -ffile-prefix-map option in DEBUG_PREFIX_MAP

PATCH New Khem Raj 1 participant 1 message Apr 29, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 bitbake.conf: Use -ffile-prefix-map option in DEBUG_PREFIX_MAP

Replace -fdebug-prefix-map/-fmacro-prefix-map with -ffile-prefix-map which is superset of all -f*-prefix-map options

---
 meta/conf/bitbake.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/conf/bitbake.conf +1 -2
index a0e0c77fe6..37a1a4383e 100644
@@ -609,8 +609,7 @@ EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} "
 # Optimization flags.
 ##################################################################
 # Beware: applied last to first
-DEBUG_PREFIX_MAP ?= "-fmacro-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
-                     -fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
+DEBUG_PREFIX_MAP ?= "-ffile-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
                      -fdebug-prefix-map=${STAGING_DIR_HOST}= \
                      -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \
 "
Signature · 1 line
2.31.1