path: root/common/recipes-kernel/linux
diff options
authorChristopher Larson <>2016-12-29 20:28:24 (GMT)
committerSaul Wold <>2017-04-04 14:58:41 (GMT)
commitdf5bc8a1f909eab1d1c77f04d7657873afbbc3db (patch)
treeaa783e673155927ef3dc46b83c061ebcd8f54c58 /common/recipes-kernel/linux
parente681552dcb89a3a72b1a2947f0e1d13237d644a8 (diff)
linux-yocto: fix builds for x32
corei7-64-intel-common overrides are used here, but this isn't in use when building for x32. Also obey this for corei7-64-x32-intel-common. An alternative would be to place this in, where the common pkgarch is set up, but that would have higher potential impact, being global. With this fix applied, along with other fixes to oe-core, it's possible to get successful builds with DEFAULTTUNE set to "corei7-64-x32", and boot the resulting images for intel-corei7-64. Signed-off-by: Christopher Larson <> Signed-off-by: Saul Wold <>
Diffstat (limited to 'common/recipes-kernel/linux')
1 files changed, 4 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto_%.bbappend b/common/recipes-kernel/linux/linux-yocto_%.bbappend
new file mode 100644
index 0000000..7c29be1
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -0,0 +1,4 @@
1# The kernel build is 64-bit regardless, so include both common overrides.
2# Without this, the kernel will be missing vars that make it buildable for the
3# intel-corei7-64 machine.
4MACHINEOVERRIDES_prepend_corei7-64-x32-intel-common = "corei7-64-intel-common:"