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.zh...@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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to