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>
This commit is contained in:
Christopher Larson 2016-12-29 13:28:24 -07:00 committed by Saul Wold
parent e681552dcb
commit df5bc8a1f9

View File

@ -0,0 +1,4 @@
# The kernel build is 64-bit regardless, so include both common overrides.
# Without this, the kernel will be missing vars that make it buildable for the
# intel-corei7-64 machine.
MACHINEOVERRIDES_prepend_corei7-64-x32-intel-common = "corei7-64-intel-common:"