Skip to contentSkip to conversation

meta-ti-bsp: ti-dm-fw: declare files installed in 'DEPLOYDIR'

PATCH NAK Adrian DC 2 participants 2 messages Sep 28, 2024

lore
Share & tools
lore

Adrian DC

author
#0 lore raw

PATCH 1/1 meta-ti-bsp: ti-dm-fw: declare files installed in 'DEPLOYDIR'

Errors: ... is trying to install files into a shared area
when those files already exist.
Tests: Build clean, rebuild, rebuild clean with sstate
---

---
 meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb +2 -0
index 1ad236ce..39e0eb8c 100644
@@ -77,6 +77,8 @@ do_deploy() {
     done
 }
 
+FILES:${PN} += "${INSTALL_DM_FW_DIR}"
+
 # Set up names for the firmwares
 ALTERNATIVE:${PN}:am62xx  = "am62-main-r5f0_0-fw"
 ALTERNATIVE:${PN}:am62pxx  = "am62p-main-r5f0_0-fw"
Signature · 1 line
2.43.0
#1 lore raw

NAK

This does not make any sense. The subject says DEPLOYDIR, then you add INSTALL_DM_FW_DIR (that is ${nonarch_base_libdir}/firmware/${DM_FW_DIR}) to FILES, which has nothing to do with do_deploy, only do_install.

Moreover, ti-dm-fw.bb includes ti-linux-fw.inc, which already sets FILES to include everything in ${nonarch_base_libdir}/firmware

Quoted 25 lines · Adrian DC

Errors: ... is trying to install files into a shared area
when those files already exist.
Tests: Build clean, rebuild, rebuild clean with sstate
---

---
 meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb +2 -0
index 1ad236ce..39e0eb8c 100644
@@ -77,6 +77,8 @@ do_deploy() {
     done
 }
 
+FILES:${PN} += "${INSTALL_DM_FW_DIR}"
+
 # Set up names for the firmwares
 ALTERNATIVE:${PN}:am62xx  = "am62-main-r5f0_0-fw"
 ALTERNATIVE:${PN}:am62pxx  = "am62p-main-r5f0_0-fw"
Signature · 1 line
2.43.0