Skip to contentSkip to conversation

machine.cfg: Unset CONFIG_64BIT for qemu i386 architecture

PATCH New [email protected] 1 participant 1 message Oct 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 machine.cfg: Unset CONFIG_64BIT for qemu i386 architecture

From: Leonardo Sandoval <[email protected]>

In modern kernels, ARCH=x86 defaults to 64 bits, so explicitly unset this word length for qemu i386 architectures.

---
 .../substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg +3 -1
index d560784..3fa4ed0 100644
@@ -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
Signature · 1 line
2.1.4