1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

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>
This commit is contained in:
Denys Dmytriyenko
2024-07-15 14:49:14 -04:00
committed by Ryan Eatmon
parent 3482afd702
commit 5e40907f51

View File

@@ -24,14 +24,17 @@ SRC_URI[cgt-pru-x86.sha256sum] = "1f1405167214f2c0ef848591b17a7799fdcd9f55f11bc9
SRC_URI[cgt-pru-arm.md5sum] = "648a6d7d8162fd6a89f381c7b974e6b0"
SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c21258e3206a7c1232ccf2"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
do_install() {
install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}
cp -r ${UNPACKDIR}/ti-cgt-pru_${PV}/. \
cp -r ${S}/ti-cgt-pru_${PV}/. \
${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/
}
do_install:class-target() {
${UNPACKDIR}/${BINFILE} --prefix ${D}
${S}/${BINFILE} --prefix ${D}
}
FILES:${PN} += "${datadir}/ti/*"