ti-ipc: Fix "buildpaths" QA error
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
Suggested-by Khem Raj <[email protected]>
Signed-off-by Ryan Eatmon <[email protected]>
---
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
@@ -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