From 35f621e4524cbc500f3fac862a8ed77b9ce688d7 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 7 Jul 2025 19:30:39 +0100 Subject: [PATCH] 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 Signed-off-by: Jon Mason --- .../recipes-security/trusted-services/trusted-services.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arm/recipes-security/trusted-services/trusted-services.inc b/meta-arm/recipes-security/trusted-services/trusted-services.inc index 2ffc7c90..1312b30b 100644 --- a/meta-arm/recipes-security/trusted-services/trusted-services.inc +++ b/meta-arm/recipes-security/trusted-services/trusted-services.inc @@ -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"