From 0931ee073dd852ece58867bbdbdc02687c1709b4 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Mon, 17 Sep 2012 15:01:11 -0500 Subject: [PATCH] linux-qoriq-sdk.inc: make sure we enabled biarch for our kernel builds Signed-off-by: Matthew McClintock --- meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc b/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc index 35ee5e32..d75ea4d6 100644 --- a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc +++ b/meta-fsl-ppc/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: -- 2.40.1