Patchwork [meta-fsl-arm,3/3] firmware-imx: Make the package machine specific

login
register
mail settings
Submitter Otavio Salvador
Date March 19, 2013, 6:48 p.m.
Message ID <1363718898-21132-3-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/46473/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - March 19, 2013, 6:48 p.m.
Each SoC has a different version of the firmware files so it is not
architecture agnostic thus make it machine specific.

Change-Id: I1de5da5014c4dbc64e18804b11f09a6d0337e618
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-bsp/firmware-imx/firmware-imx.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-bsp/firmware-imx/firmware-imx.inc b/recipes-bsp/firmware-imx/firmware-imx.inc
index 414ca2b..f321617 100644
--- a/recipes-bsp/firmware-imx/firmware-imx.inc
+++ b/recipes-bsp/firmware-imx/firmware-imx.inc
@@ -4,11 +4,11 @@  SECTION = "base"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://licenses/vpu/EULA;md5=6469a8514eed615d6bf8c09f41846d8f"
 
-INC_PR = "r4"
+INC_PR = "r5"
 
 SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true"
 
-inherit fsl-eula-unpack allarch
+inherit fsl-eula-unpack
 
 do_install() {
 	install -d ${D}/lib/firmware
@@ -43,3 +43,5 @@  python populate_packages_prepend() {
 }
 
 PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"