[meta-virtualization] [PATCH] xen: make the dev86-native dependency specific to x86-64 target

christopher.w.clark at gmail.com christopher.w.clark at gmail.com
Tue Apr 16 15:23:30 PDT 2019


From: Christopher Clark <christopher.w.clark at gmail.com>

Remove the requirement for x86 tools when building for ARM platforms.

Signed-off-by: Christopher Clark <christopher.clark6 at baesystems.com>
---
 recipes-extended/xen/xen.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index b357824..52780d6 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -25,8 +25,8 @@ PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
 PACKAGECONFIG[hvm] = "--with-system-seabios="/usr/share/firmware/bios.bin",--disable-seabios,seabios ipxe vgabios,"
 
 DEPENDS = " \
+    ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', 'dev86-native', '', d)} \
     bison-native \
-    dev86-native \
     flex-native \
     file-native \
     gettext-native \
-- 
2.17.1



More information about the meta-virtualization mailing list