Skip to contentSkip to conversation

i386 machine.cfg: Explicitly disable 64BIT

PATCH New Saul Wold 1 participant 1 message Mar 30, 2017

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 i386 machine.cfg: Explicitly disable 64BIT

Since we do not set the 64 bit flags, newer kernels seem to build 64bit config files by default. This is due to a hard-coded uname -m check that selects the KBUILD_DEFCONFIG based on the host, not the cross target.

Similar to e9ec769926b2378e63380bd7762ce7ce201af151 in the yocto-kernel-cache repo

[YOCTO #11230]

---
 .../substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg  | 3 +++
 1 file changed, 3 insertions(+)
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg +3 -0
index 3b168b7..fe5b882 100644
@@ -1,5 +1,8 @@
 # yocto-bsp-filename {{=machine}}.cfg
 CONFIG_X86_32=y
+# Must explicitly disable 64BIT
+# CONFIG_64BIT is not set
+
 CONFIG_MATOM=y
 CONFIG_PRINTK=y
 
Signature · 1 line
2.7.4