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(-)
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"
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17872):
https://lists.yoctoproject.org/g/meta-ti/message/17872
Mute This Topic: https://lists.yoctoproject.org/mt/107263731/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-