From: Stefan Herbrechtsmeier <[email protected]>

Remove redundant parts from the deployed and installed SPL artifact
names of multi config configurations to match the other U-Boot artifact
names.

Signed-off-by: Stefan Herbrechtsmeier <[email protected]>
---

 meta/recipes-bsp/u-boot/u-boot.inc | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index 971fdbb102..71febb6f43 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -184,9 +184,9 @@ do_install () {
                     j=$(expr $j + 1);
                     if [ $j -eq $i ]
                     then
-                         install -m 644 ${B}/${config}/${SPL_BINARY} 
${D}/boot/${SPL_IMAGE}-${type}-${PV}-${PR}
-                         ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} 
${D}/boot/${SPL_BINARYNAME}-${type}
-                         ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} 
${D}/boot/${SPL_BINARYNAME}
+                         install -m 644 ${B}/${config}/${SPL_BINARY} 
${D}/boot/${SPL_BINARYNAME}-${type}-${PV}-${PR}
+                         ln -sf ${SPL_BINARYNAME}-${type}-${PV}-${PR} 
${D}/boot/${SPL_BINARYNAME}-${type}
+                         ln -sf ${SPL_BINARYNAME}-${type}-${PV}-${PR} 
${D}/boot/${SPL_BINARYNAME}
                     fi
                 done
                 unset j
@@ -315,12 +315,12 @@ do_deploy () {
                     j=$(expr $j + 1);
                     if [ $j -eq $i ]
                     then
-                        install -m 644 ${B}/${config}/${SPL_BINARY} 
${DEPLOYDIR}/${SPL_IMAGE}-${type}-${PV}-${PR}
+                        install -m 644 ${B}/${config}/${SPL_BINARY} 
${DEPLOYDIR}/${SPL_BINARYNAME}-${type}-${PV}-${PR}
                         rm -f ${DEPLOYDIR}/${SPL_BINARYNAME} 
${DEPLOYDIR}/${SPL_SYMLINK}-${type}
-                        ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_BINARYNAME}-${type}
-                        ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_BINARYNAME}
-                        ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_SYMLINK}-${type}
-                        ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_SYMLINK}
+                        ln -sf ${SPL_BINARYNAME}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_BINARYNAME}-${type}
+                        ln -sf ${SPL_BINARYNAME}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_BINARYNAME}
+                        ln -sf ${SPL_BINARYNAME}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_SYMLINK}-${type}
+                        ln -sf ${SPL_BINARYNAME}-${type}-${PV}-${PR} 
${DEPLOYDIR}/${SPL_SYMLINK}
                     fi
                 done
                 unset j
-- 
2.20.1

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

Reply via email to