From eb1bb802c91cd3fe4d8cd7f4511119122dd4555d Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Sat, 18 Aug 2018 18:37:15 -0700 Subject: xen: enable 32-bit ARM builds Enable recipe for COMPATIBLE_HOST = 'arm-.*-linux-gnueabi' Tested with a cubietruck, upstream's reference device for this class. Signed-off-by: Christopher Clark Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 38cecd1d..bf4b3c28 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -5,7 +5,7 @@ SECTION = "console/tools" LIC_FILES_CHKSUM = "file://COPYING;md5=bbb4b1bdc2c3b6743da3c39d03249095" -COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux' +COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux|arm-.*-linux-gnueabi' inherit autotools-brokensep setuptools update-rc.d systemd deploy @@ -918,6 +918,11 @@ do_post_patch() { fi } +do_post_patch_append_arm() { + # The hypervisor binary must not be built with the hard floating point ABI. + echo "CC := \$(filter-out ${TUNE_CCARGS},\$(CC))" >> ${B}/xen/arch/arm/Rules.mk +} + addtask post_patch after do_patch before do_configure do_stubs() { -- cgit v1.2.3-54-g00ecf