summaryrefslogtreecommitdiffstats
path: root/meta-ti-extras/recipes-ti/devtools
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-extras/recipes-ti/devtools
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-extras/recipes-ti/devtools')
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb8
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb2
2 files changed, 5 insertions, 5 deletions
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb
index c96113fe..47bd6a51 100644
--- a/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "TI PRU Code Generation Tools"
2HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" 2HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
3LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" 3LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD"
4 4
5LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" 5LIC_FILES_CHKSUM = "file://${UNPACKDIR}/ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc"
6LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" 6LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc"
7 7
8require recipes-ti/includes/ti-paths.inc 8require recipes-ti/includes/ti-paths.inc
@@ -10,7 +10,7 @@ require recipes-ti/includes/ti-unpack.inc
10 10
11BINFILE = "ti_cgt_pru_${PV}_linux_installer_x86.bin" 11BINFILE = "ti_cgt_pru_${PV}_linux_installer_x86.bin"
12BINFILE_NAME = "cgt-pru-x86" 12BINFILE_NAME = "cgt-pru-x86"
13TI_BIN_UNPK_ARGS = "--prefix ${S}" 13TI_BIN_UNPK_ARGS = "--prefix ${UNPACKDIR}"
14TI_BIN_UNPK_CMDS = "" 14TI_BIN_UNPK_CMDS = ""
15 15
16BINFILE:class-target = "ti_cgt_pru_${PV}_armlinuxa8hf_busybox_installer.sh" 16BINFILE:class-target = "ti_cgt_pru_${PV}_armlinuxa8hf_busybox_installer.sh"
@@ -26,12 +26,12 @@ SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c212
26 26
27do_install() { 27do_install() {
28 install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE} 28 install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}
29 cp -r ${S}/ti-cgt-pru_${PV}/. \ 29 cp -r ${UNPACKDIR}/ti-cgt-pru_${PV}/. \
30 ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/ 30 ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/
31} 31}
32 32
33do_install:class-target() { 33do_install:class-target() {
34 ${WORKDIR}/${BINFILE} --prefix ${D} 34 ${UNPACKDIR}/${BINFILE} --prefix ${D}
35} 35}
36 36
37FILES:${PN} += "${datadir}/ti/*" 37FILES:${PN} += "${datadir}/ti/*"
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
index fd34657a..1acd2f9f 100644
--- a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
@@ -92,7 +92,7 @@ do_install() {
92} 92}
93 93
94do_install:class-target() { 94do_install:class-target() {
95 ${WORKDIR}/${BINFILE} --prefix ${D} 95 ${UNPACKDIR}/${BINFILE} --prefix ${D}
96} 96}
97 97
98FILES:${PN} += "${datadir}/ti/*" 98FILES:${PN} += "${datadir}/ti/*"