[meta-freescale] [PATCH 6/8] ppfe-firmware: update recipes

Chunrong Guo B40290 at freescale.com
Mon Nov 6 21:19:45 PST 2017


From: Chunrong Guo <chunrong.guo at nxp.com>

*Deploy the binary in ls1012a/u-boot/ folder as it is standalone
The ppfe-firmware is a standalone tool, deploy the binary like
other images like u-boot/kernel/rcw.

*fix missing binary in ls1012a/u-boot/ folder

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
index ab0015a..9c93d33 100644
--- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
+++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=f1c407c0fccab5cd0bf9b92565f
 
 INHIBIT_DEFAULT_DEPS = "1"
 
+inherit deploy
+
 SRC_URI = "git://github.com/qoriq-open-source/engine-pfe-bin.git;nobranch=1"
 SRCREV = "97cd13d3070d7199e62881bc495b332194b67edd"
 
@@ -11,11 +13,20 @@ S = "${WORKDIR}/git"
 
 do_install () {
     install -d ${D}/lib/firmware
+    install -d ${D}/boot/engine-pfe-bin
     install -m 644 ${S}/Freescale-Binary-EULA ${D}/lib/firmware
     install -m 755 ${S}/ls1012a/slow_path/*.elf ${D}/lib/firmware
+    install -m 755 ${S}/ls1012a/u-boot/* ${D}/boot/engine-pfe-bin
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/engine-pfe-bin
+    cp -r ${D}/boot/engine-pfe-bin/* ${DEPLOYDIR}/engine-pfe-bin
 }
 
-FILES_${PN} += "/lib/firmware"
+addtask deploy after do_install
+
+FILES_${PN} += "/lib/firmware /boot/"
 INSANE_SKIP_${PN} += "arch already-stripped"
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_SYSROOT_STRIP = "1"
-- 
1.9.0



More information about the meta-freescale mailing list