@@ -13,8 +13,8 @@ require trusted-services-src.inc
# By default bitbake includes only ${S} (i.e git/trusted-services) in the maps.
# 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} \
- -fdebug-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=${UNPACKDIR}=${TARGET_DBGSRC_DIR} \
"
TS_PLATFORM ?= "ts/mock"
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> --- .../recipes-security/trusted-services/trusted-services.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)