bitbake.conf: Use -ffile-prefix-map option in DEBUG_PREFIX_MAP
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
Signed-off-by Khem Raj <[email protected]>
--- meta/conf/bitbake.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/conf/bitbake.conf +1 -2
@@ -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