From 40cfbe214e85292c025506a075398962f935019c Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Tue, 16 Jul 2024 19:48:53 -0500 Subject: 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 Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-54-g00ecf