Message ID | 20240717004853.18430-1-reatmon@ti.com |
---|---|
State | Accepted |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [meta-ti,master,v2] ti-ipc: Fix "buildpaths" QA error | expand |
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb index 11be09ea..431f245f 100644 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb +++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb @@ -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"
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 <raj.khem@gmail.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- 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(-)