]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub-efi: ignore arch mismatch for x32
authorChristopher Larson <chris_larson@mentor.com>
Thu, 1 Dec 2016 02:40:01 +0000 (19:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jan 2017 13:34:31 +0000 (13:34 +0000)
Ordinary 64-bit binaries are expected for the bootloader.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/grub/grub-efi_2.00.bb

index 531482b9152ddcbc29a5f5b08c9b1b350462edbd..03d273dbd943821c6080d1c1a2b1a69e46bee717 100644 (file)
@@ -65,5 +65,8 @@ FILES_${PN} += "${libdir}/grub/${GRUB_TARGET}-efi \
                 ${datadir}/grub \
                 "
 
-BBCLASSEXTEND = "native"
+# 64-bit binaries are expected for the bootloader with an x32 userland
+INSANE_SKIP_${PN}_append_linux-gnux32 = " arch"
+INSANE_SKIP_${PN}-dbg_append_linux-gnux32 = " arch"
 
+BBCLASSEXTEND = "native"