Patchwork [meta-fsl-arm,v2,12/31] mxs-base.inc: Use 'fsl-dynamic-packagearch' class

login
register
mail settings
Submitter Otavio Salvador
Date Sept. 24, 2013, 7:20 p.m.
Message ID <1380050461-21290-13-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/58909/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Sept. 24, 2013, 7:20 p.m.
Change-Id: I86c77a6aa19ee40b151246bb9531ff7194a4b983
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 conf/machine/include/mxs-base.inc | 10 ++++++++++
 1 file changed, 10 insertions(+)

Patch

diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
index c0681f7..108255e 100644
--- a/conf/machine/include/mxs-base.inc
+++ b/conf/machine/include/mxs-base.inc
@@ -22,6 +22,16 @@  XSERVER = "xserver-xorg \
            xf86-input-evdev \
            xf86-video-fbdev"
 
+# Sub-architecture support
+MACHINE_SOCARCH ?= ""
+MACHINE_SOCARCH_mx23 = "${TUNE_PKGARCH}-mx23"
+MACHINE_SOCARCH_mx28 = "${TUNE_PKGARCH}-mx28"
+PACKAGE_EXTRA_ARCHS_append = " ${MACHINE_SOCARCH}"
+
+MACHINE_ARCH_FILTER = "virtual/kernel"
+
+INHERIT += "fsl-dynamic-packagearch"
+
 # Ship kernel modules
 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"