aboutsummaryrefslogtreecommitdiffstats
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-15 08:34:59 +0100
commite9987f699fbeacb46a45376257c4d4fa53e1b926 (patch)
tree0dff6744a0387723617cf907ac4622f5ca22b796
parent71765a90d1ff455608a006ed32cf42110e779217 (diff)
downloadopenembedded-core-contrib-e9987f699fbeacb46a45376257c4d4fa53e1b926.tar.gz
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. (From OE-Core rev: 91403a81dc0555b5da89166520f868d9be5f91be) 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"