Deploy the sysfw binaries to the DEPLOYDIR, to be picked up by the
tisdk-core-bundle... for the prebuilt binaries directory

Signed-off-by: Aniket Limaye <[email protected]>
---
 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb 
b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index ab9356b6..801c8768 100644
--- a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -1,5 +1,7 @@
 SUMMARY = "TI SYSFW/TIFS Firmware"
 
+inherit deploy
+
 require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
 
 COMPATIBLE_MACHINE = "k3r5"
@@ -23,3 +25,12 @@ do_install() {
 }
 
 FILES:${PN} = "${nonarch_base_libdir}/firmware"
+
+do_deploy() {
+       install -d ${DEPLOYDIR}/ti-sysfw
+       install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw
+       install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw
+       install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${DEPLOYDIR}/ti-sysfw
+}
+
+addtask deploy before do_build after do_compile
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17048): 
https://lists.yoctoproject.org/g/meta-ti/message/17048
Mute This Topic: https://lists.yoctoproject.org/mt/101750587/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to