diff options
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx_7.8.bb | 19 |
1 files changed, 13 insertions, 6 deletions
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() { | |||
20 | install -d ${D}${base_libdir}/firmware/bcm | 20 | install -d ${D}${base_libdir}/firmware/bcm |
21 | install -d ${D}${sysconfdir}/firmware | 21 | install -d ${D}${sysconfdir}/firmware |
22 | 22 | ||
23 | cp -rfv firmware/* ${D}${base_libdir}/firmware/ | 23 | cd firmware |
24 | 24 | for d in *; do | |
25 | # FIXME: This need to be removed when iMX8 is integrated. | 25 | case $d in |
26 | rm -rf ${D}${base_libdir}/firmware/ddr \ | 26 | ddr|hdmi|seco) |
27 | ${D}${base_libdir}/firmware/hdmi \ | 27 | # These folders are for i.MX 8 and are included in the boot image via imx-boot |
28 | ${D}${base_libdir}/firmware/seco | 28 | bbnote Excluding folder $d |
29 | ;; | ||
30 | *) | ||
31 | cp -rfv $d ${D}${base_libdir}/firmware | ||
32 | ;; | ||
33 | esac | ||
34 | done | ||
35 | cd - | ||
29 | 36 | ||
30 | #1BW_BCM43340 | 37 | #1BW_BCM43340 |
31 | install -d ${D}${base_libdir}/firmware/bcm/1BW_BCM43340 | 38 | install -d ${D}${base_libdir}/firmware/bcm/1BW_BCM43340 |