From: Andrew Davis <a...@ti.com>

This recipe deploys the raw SYSFW unconditionally which causes issues
when doing multiconfig builds. What should happen is only one deploys
these, select that the same way we select which one deploys the default
SYSFW symlink. Move the deploy step there.

Signed-off-by: Andrew Davis <a...@ti.com>
Signed-off-by: Ryan Eatmon <reat...@ti.com>
Signed-off-by: Denys Dmytriyenko <de...@konsulko.com>
---
 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 506052ca..ae90e877 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
@@ -99,6 +99,7 @@ do_deploy () {
                ln -sf ${SYSFW_VBINARY} ${DEPLOYDIR}/${SYSFW_IMAGE}
                if [ ! -z "${SYSFW_SYMLINK}" ]; then
                        ln -sf ${SYSFW_VBINARY} ${DEPLOYDIR}/${SYSFW_SYMLINK}
+                       install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
                fi
        fi
 
@@ -106,10 +107,9 @@ do_deploy () {
                install -m 644 ${WORKDIR}/imggen/${SYSFW_TIBOOT3} 
${DEPLOYDIR}/${SYSFW_TIBOOT3}
                if [ ! -z "${SYSFW_TIBOOT3_SYMLINK}" ]; then
                        ln -sf ${SYSFW_TIBOOT3} 
${DEPLOYDIR}/${SYSFW_TIBOOT3_SYMLINK}
+                       install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
                fi
        fi
-
-       install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
 }
 
 addtask deploy before do_build after do_compile
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15242): 
https://lists.yoctoproject.org/g/meta-ti/message/15242
Mute This Topic: https://lists.yoctoproject.org/mt/94816053/21656
Group Owner: meta-ti+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to