aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Aquino <voa.aquino@gmail.com>2021-02-26 14:20:55 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2021-03-01 11:16:55 -0300
commit9de81869018e78b8b861513735b85c2dbc33ca0b (patch)
tree4f021adf39715ba95d24a9d31bd3708b40bc8c70
parent6adee1c65669fab5a4d8804750b4885bb63fcd1a (diff)
downloadmeta-freescale-9de81869018e78b8b861513735b85c2dbc33ca0b.tar.gz
meta-freescale-9de81869018e78b8b861513735b85c2dbc33ca0b.tar.bz2
meta-freescale-9de81869018e78b8b861513735b85c2dbc33ca0b.zip
firmware-imx: Prevent sdma-imx6q and imx7d installation
When building a eSDK, sdma-imx6q/7d files are installed by both firmware-imx and linux-firmware causing a abort. Prevent firmware-imx to install sdma-imx6q/7d allows linux-firmware to install them exclusively. Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_8.10.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.10.bb b/recipes-bsp/firmware-imx/firmware-imx_8.10.bb
index 84534a62..8ff4a321 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_8.10.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_8.10.bb
@@ -16,6 +16,8 @@ do_install() {
# SDMA Firmware section
install -d ${D}${nonarch_base_libdir}/firmware/imx/sdma
install -m 0644 ${S}/firmware/sdma/* ${D}${nonarch_base_libdir}/firmware/imx/sdma
+ rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin
+ rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin
# EASRC Firmware section
install -d ${D}${nonarch_base_libdir}/firmware/imx/easrc