From: Tom Hochstein Date: Thu, 11 Oct 2018 21:28:44 +0000 (-0500) Subject: firmware-imx: Update logic for non-rootfs firmware X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=faf35a803439a3d3636eec475d78d97c883477b5;p=meta-freescale.git firmware-imx: Update logic for non-rootfs firmware Certain i.MX 8 firmware packages are included in the boot image via imx-boot recipe, not through rootfs. Clarify the logic that handles this. Signed-off-by: Tom Hochstein --- diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.8.bb b/recipes-bsp/firmware-imx/firmware-imx_7.8.bb index 0fb2d5dc..bf0fbc3f 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_7.8.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_7.8.bb @@ -20,12 +20,19 @@ do_install() { install -d ${D}${base_libdir}/firmware/bcm install -d ${D}${sysconfdir}/firmware - cp -rfv firmware/* ${D}${base_libdir}/firmware/ - - # FIXME: This need to be removed when iMX8 is integrated. - rm -rf ${D}${base_libdir}/firmware/ddr \ - ${D}${base_libdir}/firmware/hdmi \ - ${D}${base_libdir}/firmware/seco + cd firmware + for d in *; do + case $d in + ddr|hdmi|seco) + # These folders are for i.MX 8 and are included in the boot image via imx-boot + bbnote Excluding folder $d + ;; + *) + cp -rfv $d ${D}${base_libdir}/firmware + ;; + esac + done + cd - #1BW_BCM43340 install -d ${D}${base_libdir}/firmware/bcm/1BW_BCM43340