summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJianxun Zhang <jianxun.zhang@linux.intel.com>2016-06-10 18:04:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-13 09:12:25 +0100
commit91403a81dc0555b5da89166520f868d9be5f91be (patch)
tree638374272ca3eb50a18b6d153ee6ca8fd969a47f
parent2fdd2c1434e7c741b8048145bd460c68bea7ee53 (diff)
downloadopenembedded-core-contrib-91403a81dc0555b5da89166520f868d9be5f91be.tar.gz
openembedded-core-contrib-91403a81dc0555b5da89166520f868d9be5f91be.tar.bz2
openembedded-core-contrib-91403a81dc0555b5da89166520f868d9be5f91be.zip
systemd-boot: Set COMPATIBLE_HOST in recipe
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@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/systemd-boot/systemd-boot.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/systemd-boot/systemd-boot.bb b/meta/recipes-bsp/systemd-boot/systemd-boot.bb
index 87e98718f5..0dc0fa3c06 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"