From 6ed3918ed0ba49f07cd7f14fc3e26bf9710a223c Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Thu, 9 Nov 2017 12:11:15 +0800 Subject: [PATCH] ppfe-firmware: update recipes *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 Signed-off-by: Otavio Salvador --- 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 ab0015a1..9c93d333 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" -- 2.40.1