diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-12-29 13:28:24 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-04-04 07:58:41 -0700 |
commit | df5bc8a1f909eab1d1c77f04d7657873afbbc3db (patch) | |
tree | aa783e673155927ef3dc46b83c061ebcd8f54c58 | |
parent | e681552dcb89a3a72b1a2947f0e1d13237d644a8 (diff) | |
download | meta-intel-df5bc8a1f909eab1d1c77f04d7657873afbbc3db.tar.gz |
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 intel-common-pkgarch.inc, 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 <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto_%.bbappend | 4 |
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 00000000..7c29be14 --- /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. | ||
4 | MACHINEOVERRIDES_prepend_corei7-64-x32-intel-common = "corei7-64-intel-common:" | ||