summaryrefslogtreecommitdiffstats
path: root/meta-ti-extras
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2024-07-15 14:49:14 -0400
committerRyan Eatmon <reatmon@ti.com>2024-07-19 11:15:51 -0500
commit5e40907f519493acde3bec9d5c4bdd96b176287e (patch)
tree7c36cb1bb0c62d813ef466809622754f8e42c090 /meta-ti-extras
parent3482afd7022102a784344c1181b78503922559e8 (diff)
downloadmeta-ti-5e40907f519493acde3bec9d5c4bdd96b176287e.tar.gz
ti-cgt-pru: UNPACKDIR cleanup
Fix warning that S does not exist, since it defaults to ${WORKDIR}/${BP} Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-extras')
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb7
1 files changed, 5 insertions, 2 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 47bd6a51..75bb7262 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
@@ -24,14 +24,17 @@ SRC_URI[cgt-pru-x86.sha256sum] = "1f1405167214f2c0ef848591b17a7799fdcd9f55f11bc9
24SRC_URI[cgt-pru-arm.md5sum] = "648a6d7d8162fd6a89f381c7b974e6b0" 24SRC_URI[cgt-pru-arm.md5sum] = "648a6d7d8162fd6a89f381c7b974e6b0"
25SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c21258e3206a7c1232ccf2" 25SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c21258e3206a7c1232ccf2"
26 26
27S = "${WORKDIR}/sources"
28UNPACKDIR = "${S}"
29
27do_install() { 30do_install() {
28 install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE} 31 install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}
29 cp -r ${UNPACKDIR}/ti-cgt-pru_${PV}/. \ 32 cp -r ${S}/ti-cgt-pru_${PV}/. \
30 ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/ 33 ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/
31} 34}
32 35
33do_install:class-target() { 36do_install:class-target() {
34 ${UNPACKDIR}/${BINFILE} --prefix ${D} 37 ${S}/${BINFILE} --prefix ${D}
35} 38}
36 39
37FILES:${PN} += "${datadir}/ti/*" 40FILES:${PN} += "${datadir}/ti/*"