aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)}'
COMPATIBLE_MACHINE_$MACHINE = "$MACHINE"
python () {
+ ma = d.getVar("DISTRO_FEATURES", True)
+ arch = d.getVar("OVERRIDES", True)
+
+ if not "multiarch" in ma and ("e5500" in arch or "e6500" in arch):
+ raise bb.parse.SkipPackage("Building the kernel for this arch requires multiarch to be in DISTRO_FEATURES")
+
promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
if promote_kernel != 0: