summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2024-05-21 11:33:26 -0500
committerRyan Eatmon <reatmon@ti.com>2024-05-31 11:51:39 -0500
commitafcdfa2e638292d43cbe0eed8dc1271c95a1931e (patch)
tree10b7c85c0cab857726dbea74b1d3bfab8a4c64d3 /meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb
parent67b556502b1c44fb55ddd02af1fa0b07a753b075 (diff)
downloadmeta-ti-afcdfa2e638292d43cbe0eed8dc1271c95a1931e.tar.gz
recipes: Update to UNPACKDIR for files going into WORKDIR
For recipes that have file:// in SRC_URI, the files are placed into WORKDIR. Moving forward [1], that directory will be UNPACKDIR and eventually move to somewhere other than WORKDIR. So update all references to WORKDIR that are looking for these file to use UNPACKDIR instead. [1] https://git.openembedded.org/openembedded-core/commit/?id=e022d62ba917790af2121da57646271ef17c03fa Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb')
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb12
1 files changed, 6 insertions, 6 deletions
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 e2db6efd..11be09ea 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 \
18 file://0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch \ 18 file://0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch \
19 " 19 "
20 20
21CFLAGS += "-I${WORKDIR}" 21CFLAGS += "-I${UNPACKDIR}"
22 22
23DAEMON = "UNKNOWN" 23DAEMON = "UNKNOWN"
24DAEMON:dra7xx = "lad_dra7xx" 24DAEMON:dra7xx = "lad_dra7xx"
@@ -45,18 +45,18 @@ do_install:append() {
45 45
46 # Modify the startup scripts to point to the right 46 # Modify the startup scripts to point to the right
47 # lad daemon executable. 47 # lad daemon executable.
48 sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.sh 48 sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${UNPACKDIR}/tiipclad-daemon.sh
49 sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.service 49 sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${UNPACKDIR}/tiipclad-daemon.service
50 50
51 install -d ${D}${systemd_system_unitdir} 51 install -d ${D}${systemd_system_unitdir}
52 install -m 0644 ${WORKDIR}/tiipclad-daemon.service ${D}${systemd_system_unitdir} 52 install -m 0644 ${UNPACKDIR}/tiipclad-daemon.service ${D}${systemd_system_unitdir}
53 install -d ${D}${sysconfdir}/init.d/ 53 install -d ${D}${sysconfdir}/init.d/
54 install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} 54 install -c -m 755 ${UNPACKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
55} 55}
56 56
57do_install:append:dra7xx() { 57do_install:append:dra7xx() {
58 install -d ${D}${sysconfdir}/modprobe.d/ 58 install -d ${D}${sysconfdir}/modprobe.d/
59 install -c -m 644 ${WORKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/ 59 install -c -m 644 ${UNPACKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
60} 60}
61 61
62PACKAGES =+ "${PN}-test" 62PACKAGES =+ "${PN}-test"