mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm/trusted-services: set DEBUG_PREFIX_MAP correctly with UNPACKDIR
The sources are not under WORKDIR/git anymore, use UNPACKDIR. This most likely isn't entirely correct but does remove build paths from the binaries. Also use TARGET_DBGSRC_DIR instead of constructing the target path manually. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -13,8 +13,8 @@ require trusted-services-src.inc
|
|||||||
|
|
||||||
# By default bitbake includes only ${S} (i.e git/trusted-services) in the maps.
|
# By default bitbake includes only ${S} (i.e git/trusted-services) in the maps.
|
||||||
# We also need to include the TS dependencies source trees.
|
# We also need to include the TS dependencies source trees.
|
||||||
DEBUG_PREFIX_MAP:append = "-fmacro-prefix-map=${WORKDIR}/git=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
|
DEBUG_PREFIX_MAP:append = "-fmacro-prefix-map=${UNPACKDIR}=${TARGET_DBGSRC_DIR} \
|
||||||
-fdebug-prefix-map=${WORKDIR}/git=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
|
-fdebug-prefix-map=${UNPACKDIR}=${TARGET_DBGSRC_DIR} \
|
||||||
"
|
"
|
||||||
|
|
||||||
TS_PLATFORM ?= "ts/mock"
|
TS_PLATFORM ?= "ts/mock"
|
||||||
|
|||||||
Reference in New Issue
Block a user