From 65107a9abe6c6c92c2c21e7dacfe4cc028ab7cb7 Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Fri, 30 Sep 2016 19:09:35 -0500 Subject: 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. (From meta-yocto rev: 9750779bc78de3ea33d7f88e4972a5b21c3f811b) Signed-off-by: Leonardo Sandoval Signed-off-by: Richard Purdie --- .../substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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 d560784b56..3fa4ed0b7f 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 -- cgit v1.2.3-54-g00ecf