]> code.ossystems Code Review - meta-freescale.git/commitdiff
firmware-imx: Change recipe for allarch
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 14 Mar 2017 19:58:34 +0000 (16:58 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 22 Mar 2017 19:27:39 +0000 (19:27 +0000)
The recipe content does not vary from one board to another so there is
no reason to use SoC arch or machine arch as package architecture.

The recipe generates multiple binary packages which makes it easy for
users to choose what to install.

Change-Id: Ia5f87f9f19e734607275fb2e9020c8b3096de0ad
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/firmware-imx/firmware-imx.inc
recipes-bsp/firmware-imx/firmware-imx_5.4.bb

index cded771412a935b7c0771b937085273bb4d0ec0a..5407a5a1bea651103c8507f9dbc72409c009ebfe 100644 (file)
@@ -12,7 +12,7 @@ SRCBRANCH ?= "master"
 SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
            git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git "
 
-inherit fsl-eula-unpack
+inherit fsl-eula-unpack allarch
 
 do_install() {
     install -d ${D}${base_libdir}/firmware/imx
@@ -79,5 +79,3 @@ PACKAGES =+ "${PN}-epdc ${PN}-brcm"
 
 FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/"
 FILES_${PN}-brcm = "${base_libdir}/firmware/bcm/*/*.bin ${base_libdir}/firmware/bcm/*/*.cal ${sysconfdir}/firmware/"
-
-PACKAGE_ARCH = "${MACHINE_SOCARCH}"
index 478c789a7937e86f6fe19eaef8d68e75d5db74af..23df1e4fa891a6bce14102d8971c2c7966776797 100644 (file)
@@ -8,5 +8,3 @@ SRC_URI[sha256sum] = "c5bd4bff48cce9715a5d6d2c190ff3cd2262c7196f7facb9b0eda231c9
 
 #BRCM firmware git
 SRCREV = "951c1363abe95dd75ab3e9447f640d7807240236"
-
-COMPATIBLE_MACHINE = "(mx5|mx6|mx7)"