Skip to contentSkip to conversation

ti-ipc: fix accidental reference to UNPACKDIR from master

PATCH New Denys Dmytriyenko 1 participant 2 messages Dec 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ti-ipc: fix accidental reference to UNPACKDIR from master

From: Denys Dmytriyenko <[email protected]>

There was a fix for "buildpaths" QA error in master that got backported to scarthgap, but out of 2 references to the new UNPACKDIR, one got corrected, but the other one was left behind. Since scarthgap has no notion of UNPACKDIR, replace it with corresponding WORKDIR.

---
 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 c05de508..90472e48 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${WORKDIR} -fdebug-prefix-map=${UNPACKDIR}=${TARGET_DBGSRC_DIR}"
+CFLAGS += "-I${WORKDIR} -fdebug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}"
 
 DAEMON = "UNKNOWN"
 DAEMON:dra7xx = "lad_dra7xx"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 ti-ipc: mark as incompatible with non-Linux builds

From: Denys Dmytriyenko <[email protected]>

This package provides Linux-side components for TI IPC and depends on virtual/kernel Linux kernel for the build, so it is not compatible with non-Linux builds, such as k3r5 baremetal multiconfig. Hence adjust COMPATIBLE_HOST accordingly.

---
 meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc +1 -1
index ec1e71be..da7e4733 100644
@@ -3,7 +3,7 @@ INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST:ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = ".*-linux"
 
 PLATFORM = "UNKNOWN"
 PLATFORM:dra7xx = "DRA7XX"
Signature · 1 line
2.25.1