]> code.ossystems Code Review - meta-freescale.git/commitdiff
fm-ucode: Add B variable to SOURCE parameter in install command
authorFabio Berton <fabio.berton@ossystems.com.br>
Thu, 10 Nov 2016 17:23:18 +0000 (15:23 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 14 Nov 2016 16:10:38 +0000 (14:10 -0200)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-dpaa/fm-ucode/fm-ucode_git.bb

index 566a6e397390214b56ed4e77739f10e4e6ea740f..c6a5b8b7d23377a87b69a7bcc1cdee6f24a0cc27 100644 (file)
@@ -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