summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-02-22 04:14:01 +0000
committerRyan Eatmon <reatmon@ti.com>2022-02-22 12:01:39 -0600
commitfa8035fc263960e06742945da00cb4777e4b24f7 (patch)
tree592e8178d7b5f719480172a83eaa80c34cf0fbd9 /meta-ti-bsp/recipes-bsp
parentd39f85d1d079e14b89768b7a9d3adb059013e07b (diff)
downloadmeta-ti-fa8035fc263960e06742945da00cb4777e4b24f7.tar.gz
meta-ti: use nonarch_base_libdir for firmware installations
Firmware images should always be installed under /lib and hence should use nonarch_base_libdir, as regular base_libdir is configuration-specific and doesn't always resolve to /lib. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-bsp')
-rw-r--r--meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb8
-rwxr-xr-xmeta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb10
-rw-r--r--meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb6
-rw-r--r--meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb4
15 files changed, 47 insertions, 47 deletions
diff --git a/meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb b/meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
index c975e8a4..f6797e2b 100644
--- a/meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
@@ -18,8 +18,8 @@ S = "${WORKDIR}/git"
18TARGET = "mhdp8546.bin" 18TARGET = "mhdp8546.bin"
19 19
20do_install() { 20do_install() {
21 install -d ${D}${base_libdir}/firmware/cadence 21 install -d ${D}${nonarch_base_libdir}/firmware/cadence
22 install -m 0644 ${S}/cadence/${TARGET} ${D}${base_libdir}/firmware/cadence/${TARGET} 22 install -m 0644 ${S}/cadence/${TARGET} ${D}${nonarch_base_libdir}/firmware/cadence/${TARGET}
23} 23}
24 24
25FILES:${PN} = "${base_libdir}/firmware" 25FILES:${PN} = "${nonarch_base_libdir}/firmware"
diff --git a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
index bd5c3693..00486677 100644
--- a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
+++ b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
@@ -18,12 +18,12 @@ do_compile() {
18} 18}
19 19
20do_install() { 20do_install() {
21 install -d ${D}${base_libdir}/firmware 21 install -d ${D}${nonarch_base_libdir}/firmware
22 install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/ 22 install -m 0644 bin/am335x-pm-firmware.elf ${D}${nonarch_base_libdir}/firmware/
23 install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/ 23 install -m 0644 bin/*-scale-data.bin ${D}${nonarch_base_libdir}/firmware/
24} 24}
25 25
26FILES:${PN} += "${base_libdir}/firmware" 26FILES:${PN} += "${nonarch_base_libdir}/firmware"
27 27
28COMPATIBLE_MACHINE = "(ti-soc)" 28COMPATIBLE_MACHINE = "(ti-soc)"
29TOOLCHAIN = "gcc" 29TOOLCHAIN = "gcc"
diff --git a/meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb b/meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb
index ed36951f..371086c1 100755
--- a/meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb
@@ -21,18 +21,18 @@ CPSW9G_FW_DIR = "${S}/ethfw"
21CPSW9G_FW_FILENAME = "app_remoteswitchcfg_server_pdk_mem_map_strip.xer5f" 21CPSW9G_FW_FILENAME = "app_remoteswitchcfg_server_pdk_mem_map_strip.xer5f"
22 22
23# make sure that lib/firmware, and all its contents are part of the package 23# make sure that lib/firmware, and all its contents are part of the package
24FILES:${PN} += "${base_libdir}/firmware" 24FILES:${PN} += "${nonarch_base_libdir}/firmware"
25 25
26do_install() { 26do_install() {
27 install -d ${D}${base_libdir}/firmware 27 install -d ${D}${nonarch_base_libdir}/firmware
28# Ethernet firmware to be loaded on Main R5 core(needs read permission) 28# Ethernet firmware to be loaded on Main R5 core(needs read permission)
29 install -m 0644 ${CPSW9G_FW_DIR}/${CPSW9G_FW_FILENAME} ${D}${base_libdir}/firmware 29 install -m 0644 ${CPSW9G_FW_DIR}/${CPSW9G_FW_FILENAME} ${D}${nonarch_base_libdir}/firmware
30} 30}
31 31
32TARGET_MAIN_R5FSS0_0 = "j7-main-r5f0_0-fw" 32TARGET_MAIN_R5FSS0_0 = "j7-main-r5f0_0-fw"
33ALTERNATIVE:${PN} = "j7-main-r5f0_0-fw" 33ALTERNATIVE:${PN} = "j7-main-r5f0_0-fw"
34ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" 34ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
35ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${CPSW9G_FW_FILENAME}" 35ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/${CPSW9G_FW_FILENAME}"
36ALTERNATIVE_PRIORITY = "17" 36ALTERNATIVE_PRIORITY = "17"
37 37
38INHIBIT_PACKAGE_STRIP = "1" 38INHIBIT_PACKAGE_STRIP = "1"
diff --git a/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb b/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb
index 1f1c2b81..00a6e51b 100644
--- a/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb
@@ -19,8 +19,8 @@ ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
19TARGET = "goodix_9271_cfg.bin" 19TARGET = "goodix_9271_cfg.bin"
20 20
21do_install() { 21do_install() {
22 install -d ${D}${base_libdir}/firmware 22 install -d ${D}${nonarch_base_libdir}/firmware
23 install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET} 23 install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${nonarch_base_libdir}/firmware/${TARGET}
24} 24}
25 25
26FILES:${PN} = "${base_libdir}/firmware" 26FILES:${PN} = "${nonarch_base_libdir}/firmware"
diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb
index e398cc80..4eb48959 100644
--- a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb
+++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb
@@ -23,12 +23,12 @@ TARGET = " \
23" 23"
24 24
25do_install() { 25do_install() {
26 install -d ${D}${base_libdir}/firmware/ti-pruss 26 install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
27 for f in ${TARGET}; do 27 for f in ${TARGET}; do
28 install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f 28 install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
29 done 29 done
30} 30}
31 31
32FILES:${PN} = "${base_libdir}/firmware" 32FILES:${PN} = "${nonarch_base_libdir}/firmware"
33 33
34INSANE_SKIP:${PN} = "arch" 34INSANE_SKIP:${PN} = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
index 804a563f..c656ceab 100644
--- a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
+++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
@@ -21,12 +21,12 @@ TARGET = " \
21" 21"
22 22
23do_install() { 23do_install() {
24 install -d ${D}${base_libdir}/firmware/ti-pruss 24 install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
25 for f in ${TARGET}; do 25 for f in ${TARGET}; do
26 install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f 26 install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
27 done 27 done
28} 28}
29 29
30FILES:${PN} = "${base_libdir}/firmware" 30FILES:${PN} = "${nonarch_base_libdir}/firmware"
31 31
32INSANE_SKIP:${PN} = "arch" 32INSANE_SKIP:${PN} = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
index 4ca06be0..9ccce938 100644
--- a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
@@ -19,13 +19,13 @@ TARGET:am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
19TARGET:am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf" 19TARGET:am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
20 20
21do_install() { 21do_install() {
22 install -d ${D}${base_libdir}/firmware/ti-pruss 22 install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
23 for f in ${TARGET}; do 23 for f in ${TARGET}; do
24 install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f 24 install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
25 done 25 done
26} 26}
27 27
28 28
29FILES:${PN} = "${base_libdir}/firmware" 29FILES:${PN} = "${nonarch_base_libdir}/firmware"
30 30
31INSANE_SKIP:${PN} = "arch" 31INSANE_SKIP:${PN} = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb b/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
index 618b1ad6..4ffd13aa 100644
--- a/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
+++ b/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
@@ -20,12 +20,12 @@ TARGET:am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
20TARGET:am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf" 20TARGET:am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
21 21
22do_install() { 22do_install() {
23 install -d ${D}${base_libdir}/firmware/ti-pruss 23 install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
24 for f in ${TARGET}; do 24 for f in ${TARGET}; do
25 install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f 25 install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
26 done 26 done
27} 27}
28 28
29FILES:${PN} = "${base_libdir}/firmware" 29FILES:${PN} = "${nonarch_base_libdir}/firmware"
30 30
31INSANE_SKIP:${PN} = "arch" 31INSANE_SKIP:${PN} = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb b/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
index 707640b4..23c422dd 100644
--- a/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
+++ b/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
@@ -21,12 +21,12 @@ TARGET:am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
21 21
22 22
23do_install() { 23do_install() {
24 install -d ${D}${base_libdir}/firmware/ti-pruss 24 install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
25 for f in ${TARGET}; do 25 for f in ${TARGET}; do
26 install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f 26 install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
27 done 27 done
28} 28}
29 29
30FILES:${PN} = "${base_libdir}/firmware" 30FILES:${PN} = "${nonarch_base_libdir}/firmware"
31 31
32INSANE_SKIP:${PN} = "arch" 32INSANE_SKIP:${PN} = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
index 2d0d3f9e..97adf6fc 100644
--- a/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
+++ b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
@@ -23,12 +23,12 @@ TARGET = " \
23" 23"
24 24
25do_install() { 25do_install() {
26 install -d ${D}${base_libdir}/firmware/ti-pruss 26 install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
27 for f in ${TARGET}; do 27 for f in ${TARGET}; do
28 install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f 28 install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
29 done 29 done
30} 30}
31 31
32FILES:${PN} = "${base_libdir}/firmware" 32FILES:${PN} = "${nonarch_base_libdir}/firmware"
33 33
34INSANE_SKIP:${PN} = "arch" 34INSANE_SKIP:${PN} = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
index 3ded0dc4..8d784768 100644
--- a/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
+++ b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
@@ -19,13 +19,13 @@ TARGET:am57xx-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf"
19TARGET:am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" 19TARGET:am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf"
20 20
21do_install() { 21do_install() {
22 install -d ${D}${base_libdir}/firmware/ti-pruss 22 install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
23 for f in ${TARGET}; do 23 for f in ${TARGET}; do
24 install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f 24 install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
25 done 25 done
26} 26}
27 27
28 28
29FILES:${PN} = "${base_libdir}/firmware" 29FILES:${PN} = "${nonarch_base_libdir}/firmware"
30 30
31INSANE_SKIP:${PN} = "arch" 31INSANE_SKIP:${PN} = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
index 3563cc7e..7727e9af 100644
--- a/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
@@ -17,8 +17,8 @@ S = "${WORKDIR}/git"
17TARGET = "pvdec_full_bin.fw" 17TARGET = "pvdec_full_bin.fw"
18 18
19do_install() { 19do_install() {
20 install -d ${D}${base_libdir}/firmware 20 install -d ${D}${nonarch_base_libdir}/firmware
21 install -m 0644 ${S}/ti-img/${TARGET} ${D}${base_libdir}/firmware/${TARGET} 21 install -m 0644 ${S}/ti-img/${TARGET} ${D}${nonarch_base_libdir}/firmware/${TARGET}
22} 22}
23 23
24FILES:${PN} = "${base_libdir}/firmware" 24FILES:${PN} = "${nonarch_base_libdir}/firmware"
diff --git a/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb b/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb
index 498be36b..7d16ae39 100644
--- a/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb
+++ b/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb
@@ -18,16 +18,16 @@ DSPAPP = "dra7-dsp1-fw-radio.xe66"
18GPPAPP = "RadioApp" 18GPPAPP = "RadioApp"
19 19
20do_install() { 20do_install() {
21 install -d ${D}${base_libdir}/firmware 21 install -d ${D}${nonarch_base_libdir}/firmware
22 install -d ${D}${bindir} 22 install -d ${D}${bindir}
23 install ${S}/prebuilt/${DSPAPP} ${D}${base_libdir}/firmware/${DSPAPP} 23 install ${S}/prebuilt/${DSPAPP} ${D}${nonarch_base_libdir}/firmware/${DSPAPP}
24 install -m 0755 ${S}/prebuilt/${GPPAPP} ${D}${bindir}/${GPPAPP} 24 install -m 0755 ${S}/prebuilt/${GPPAPP} ${D}${bindir}/${GPPAPP}
25} 25}
26 26
27PACKAGES += "${PN}-fw" 27PACKAGES += "${PN}-fw"
28RDEPENDS:${PN} += "${PN}-fw" 28RDEPENDS:${PN} += "${PN}-fw"
29 29
30FILES:${PN}-fw += "${base_libdir}/firmware/${DSPAPP}" 30FILES:${PN}-fw += "${nonarch_base_libdir}/firmware/${DSPAPP}"
31 31
32INSANE_SKIP:${PN} = "ldflags" 32INSANE_SKIP:${PN} = "ldflags"
33INSANE_SKIP:${PN}-fw = "arch" 33INSANE_SKIP:${PN}-fw = "arch"
diff --git a/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb b/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb
index c7b2a7bb..673634da 100644
--- a/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb
+++ b/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb
@@ -16,10 +16,10 @@ S = "${WORKDIR}/vpdma-fw-${PV}"
16TARGET = "vpdma-1b8.bin" 16TARGET = "vpdma-1b8.bin"
17 17
18do_install() { 18do_install() {
19 mkdir -p ${D}${base_libdir}/firmware 19 mkdir -p ${D}${nonarch_base_libdir}/firmware
20 cp ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET} 20 cp ${S}/${TARGET} ${D}${nonarch_base_libdir}/firmware/${TARGET}
21} 21}
22 22
23FILES:${PN} += "${base_libdir}/firmware/${TARGET}" 23FILES:${PN} += "${nonarch_base_libdir}/firmware/${TARGET}"
24 24
25PR = "r1" 25PR = "r1"
diff --git a/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb b/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb
index 9447f44d..5ca6b62e 100644
--- a/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb
+++ b/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb
@@ -25,6 +25,6 @@ EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${FLOAT
25 25
26do_install() { 26do_install() {
27 oe_runmake DESTDIR="${D}" install 27 oe_runmake DESTDIR="${D}" install
28 rm -rf ${D}${base_libdir}/firmware/vpdma-*.bin 28 rm -rf ${D}${nonarch_base_libdir}/firmware/vpdma-*.bin
29 rmdir -p ${D}${base_libdir}/firmware || true 29 rmdir -p ${D}${nonarch_base_libdir}/firmware || true
30} 30}