Skip to contentSkip to conversation

fm-ucode: Add B variable to SOURCE parameter in install command

PATCH New Fabio Berton 1 participant 2 messages Nov 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 fm-ucode: Add B variable to SOURCE parameter in install command

---
 recipes-dpaa/fm-ucode/fm-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-dpaa/fm-ucode/fm-ucode_git.bb +2 -2
index 566a6e3..c6a5b8b 100644
@@ -23,13 +23,13 @@ REGLEX_ls1043ardb = "t2080"
 do_install () {
     UCODE=`echo ${REGLEX} | sed -e 's,-.*$,,' -e 's,[a-zA-Z]*$,,'`
     install -d ${D}/boot
-    install -m 644 fsl_fman_ucode_${UCODE}*.bin ${D}/boot/
+    install -m 644 ${B}/fsl_fman_ucode_${UCODE}*.bin ${D}/boot/
 }
 
 do_deploy () {
     UCODE=`echo ${REGLEX} | sed -e 's,-.*$,,' -e 's,[a-zA-Z]*$,,'`
     install -d ${DEPLOYDIR}/
-    install -m 644 fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}/
+    install -m 644 ${B}/fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}
 }
 addtask deploy before do_build after do_install
 
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/2 qe-ucode: Add B variable to SOURCE parameter in install command

---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/qe-ucode/qe-ucode_git.bb +2 -2
index 8029df5..d82f732 100644
@@ -21,12 +21,12 @@ python () {
 
 do_install () {
        install -d ${D}/boot
-       install -m 644 ${QE_UCODE} ${D}/boot
+       install -m 644 ${B}/${QE_UCODE} ${D}/boot
 }
 
 do_deploy () {
        install -d ${DEPLOYDIR}/boot
-       install -m 644 ${QE_UCODE} ${DEPLOYDIR}/boot
+       install -m 644 ${B}/${QE_UCODE} ${DEPLOYDIR}/boot
 }
 addtask deploy before do_build after do_install
 
Signature · 1 line
2.1.4