[meta-intel] [PATCH] linux-yocto: fix builds for x32

Wold, Saul saul.wold at intel.com
Mon Jan 2 18:21:50 PST 2017


On Thu, 2016-12-29 at 13:28 -0700, Christopher Larson wrote:
> From: Christopher Larson <chris_larson at mentor.com>
> 
> 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.
> 
Chris,

I was actually starting to look at this myself before the break.  Are
the other fixes to OE-Core in or pending?

When I tried this patch I am getting no linux-yocto (or virtual/kernel)
for COMPATIBLE_MACHINE.

Thanks

Sau!

> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> ---
>  common/recipes-kernel/linux/linux-yocto_%.bbappend | 4 ++++
>  1 file changed, 4 insertions(+)
>  create mode 100644 common/recipes-kernel/linux/linux-
> yocto_%.bbappend
> 
> 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 @@
> +# 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:"
> -- 
> 2.8.0
> 


More information about the meta-intel mailing list