From: Leonardo Sandoval Date: Sat, 1 Oct 2016 00:09:35 +0000 (-0500) Subject: machine.cfg: Unset CONFIG_64BIT for qemu i386 architecture X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9750779bc78de3ea33d7f88e4972a5b21c3f811b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git machine.cfg: Unset CONFIG_64BIT for qemu i386 architecture In modern kernels, ARCH=x86 defaults to 64 bits, so explicitly unset this word length for qemu i386 architectures. Signed-off-by: Leonardo Sandoval Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg index d560784b56f..3fa4ed0b7fe 100644 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg @@ -1 +1,3 @@ -# yocto-bsp-filename {{=machine}}.cfg \ No newline at end of file +# yocto-bsp-filename {{=machine}}.cfg +{{ if qemuarch == "i386": }} +# CONFIG_64BIT is not set