Skip to contentSkip to conversation

ti-ipc: Fix "buildpaths" QA error

PATCH New Ryan Eatmon 1 participant 1 message Jul 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ti-ipc: Fix "buildpaths" QA error

Referring to the TI specific kernel header file via -I${UNPACKDIR} causes a "buildpaths" QA error. Solution is to tell gcc to map the host directory to a target directory using -fdebug-prefix-map

---
v2: Switch to using -fdebug-prefix-map instead of the copy hack I was trying before.

 meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb +1 -1
index 11be09ea..431f245f 100644
@@ -18,7 +18,7 @@ SRC_URI += "file://tiipclad-daemon.sh \
             file://0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch \
            "
 
-CFLAGS += "-I${UNPACKDIR}"
+CFLAGS += "-I${UNPACKDIR} -fdebug-prefix-map=${UNPACKDIR}=${TARGET_DBGSRC_DIR}"
 
 DAEMON = "UNKNOWN"
 DAEMON:dra7xx = "lad_dra7xx"
Signature · 1 line
2.17.1