From beed2eb2475971b94ffa583c0b57a0222869be03 Mon Sep 17 00:00:00 2001 From: Lauren Post Date: Thu, 17 Sep 2015 14:27:38 -0500 Subject: firmware-imx: Update to 5.2 version The package adds the EPDC waveforms and the needed changes to properly install those were done in the firmware-imx.inc file. Another change was to include the i.MX 7 in the COMPATIBLE_MACHINE list. Signed-off-by: Lauren Post Signed-off-by: Otavio Salvador --- recipes-bsp/firmware-imx/firmware-imx.inc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'recipes-bsp/firmware-imx/firmware-imx.inc') diff --git a/recipes-bsp/firmware-imx/firmware-imx.inc b/recipes-bsp/firmware-imx/firmware-imx.inc index 558c62464..fc49669d9 100644 --- a/recipes-bsp/firmware-imx/firmware-imx.inc +++ b/recipes-bsp/firmware-imx/firmware-imx.inc @@ -11,12 +11,17 @@ SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true" inherit fsl-eula-unpack do_install() { - install -d ${D}/lib/firmware + install -d ${D}/lib/firmware/imx cp -rfv firmware/* ${D}/lib/firmware/ + + mv ${D}/lib/firmware/epdc/ ${D}/lib/firmware/imx/epdc/ + mv ${D}/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw + find ${D}/lib/firmware -type f -exec chmod 644 '{}' ';' + find ${D}/lib/firmware -type f -exec chown root:root '{}' ';' # Remove files not going to be installed - find ${D}/lib/firmware/ -name Android.mk -exec rm '{}' ';' + find ${D}/lib/firmware/ -name '*.mk' -exec rm '{}' ';' } python populate_packages_prepend() { @@ -39,4 +44,8 @@ ALLOW_EMPTY_${PN} = "1" PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*" +PACKAGES =+ "${PN}-epdc" + +FILES_${PN}-epdc = "/lib/firmware/imx/epdc/" + PACKAGE_ARCH = "${MACHINE_SOCARCH}" -- cgit v1.2.3-54-g00ecf