[OE-core] [PATCH] systemd-boot: Set COMPATIBLE_HOST in recipe

Jianxun Zhang jianxun.zhang at linux.intel.com
Sat Jun 11 01:04:47 UTC 2016


We apply the same setting in the existing gummiboot to
COMPATIBLE_HOST, so that it properly stops build for
unsupported architectures.

Signed-off-by: Jianxun Zhang <jianxun.zhang at linux.intel.com>
---
 meta/recipes-bsp/systemd-boot/systemd-boot.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-bsp/systemd-boot/systemd-boot.bb b/meta/recipes-bsp/systemd-boot/systemd-boot.bb
index 87e9871..0dc0fa3 100644
--- a/meta/recipes-bsp/systemd-boot/systemd-boot.bb
+++ b/meta/recipes-bsp/systemd-boot/systemd-boot.bb
@@ -14,6 +14,7 @@ EXTRA_OECONF = " --enable-gnuefi \
 
 # Imported from gummiboot recipe
 TUNE_CCARGS_remove = "-mfpmath=sse"
+COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
 
 do_compile() {
 	SYSTEMD_BOOT_EFI_ARCH="ia32"
-- 
2.7.4




More information about the Openembedded-core mailing list