[OE-core] [PATCH] systemd-boot: fix build with musl and x32

Anuj Mittal anuj.mittal at intel.com
Wed Jan 3 01:48:52 UTC 2018


systemd-boot shouldn't be built for x32. Make sure that this is the
case when TCLIBC is set to something other than glibc.

Fixes [YOCTO #12122]

Signed-off-by: Anuj Mittal <anuj.mittal at intel.com>
---
 meta/recipes-core/systemd/systemd-boot_234.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd-boot_234.bb b/meta/recipes-core/systemd/systemd-boot_234.bb
index 7b18b25..88a14ac 100644
--- a/meta/recipes-core/systemd/systemd-boot_234.bb
+++ b/meta/recipes-core/systemd/systemd-boot_234.bb
@@ -21,7 +21,7 @@ EXTRA_OECONF = " --enable-gnuefi \
 # Imported from the old gummiboot recipe
 TUNE_CCARGS_remove = "-mfpmath=sse"
 COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
-COMPATIBLE_HOST_linux-gnux32 = "null"
+COMPATIBLE_HOST_x86-x32 = "null"
 
 do_compile() {
 	SYSTEMD_BOOT_EFI_ARCH="ia32"
-- 
2.7.4




More information about the Openembedded-core mailing list