summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-09-17 15:01:11 -0500
committerMatthew McClintock <msm@freescale.com>2012-09-17 15:01:11 -0500
commit91cf4627cfdb9302353b8bf2ced9f0a7fcdcbd7a (patch)
treeaa7d63dc1c1599f8162ed6379936f38b2c42879a
parentd325d2b157321a6d7efa277e4095f7ccb2a9b8aa (diff)
downloadmeta-fsl-ppc-91cf4627cfdb9302353b8bf2ced9f0a7fcdcbd7a.tar.gz
linux-qoriq-sdk.inc: make sure we enabled biarch for our kernel builds
Signed-off-by: Matthew McClintock <msm@freescale.com>
-rw-r--r--recipes-kernel/linux/linux-qoriq-sdk.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-sdk.inc b/recipes-kernel/linux/linux-qoriq-sdk.inc
index 35ee5e3..d75ea4d 100644
--- a/recipes-kernel/linux/linux-qoriq-sdk.inc
+++ b/recipes-kernel/linux/linux-qoriq-sdk.inc
@@ -16,6 +16,12 @@ S = '${@base_conditional("KSRC", "", "${WORKDIR}/git", "${KSRC}", d)}'
16COMPATIBLE_MACHINE_$MACHINE = "$MACHINE" 16COMPATIBLE_MACHINE_$MACHINE = "$MACHINE"
17 17
18python () { 18python () {
19 ma = d.getVar("DISTRO_FEATURES", True)
20 arch = d.getVar("OVERRIDES", True)
21
22 if not "multiarch" in ma and ("e5500" in arch or "e6500" in arch):
23 raise bb.parse.SkipPackage("Building the kernel for this arch requires multiarch to be in DISTRO_FEATURES")
24
19 promote_kernel = d.getVar('BUILD_64BIT_KERNEL') 25 promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
20 26
21 if promote_kernel != 0: 27 if promote_kernel != 0: