]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
yocto-bsp/i386 machine.cfg: Explicitly disable 64BIT
authorSaul Wold <sgw@linux.intel.com>
Thu, 30 Mar 2017 16:27:46 +0000 (09:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Mar 2017 11:22:40 +0000 (12:22 +0100)
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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg

index 3b168b7e365c00a2eb79f7e2b8ef422bbd1a69b6..fe5b8823fb284ef09a96f342e8f7e44037c0cf92 100644 (file)
@@ -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