[meta-virtualization] [PATCH 3/3] xen: enable 32-bit ARM builds

Christopher Clark christopher.w.clark at gmail.com
Sat Aug 18 18:37:15 PDT 2018


Enable recipe for COMPATIBLE_HOST = 'arm-.*-linux-gnueabi'
Tested with a cubietruck, upstream's reference device for this class.

Signed-off-by: Christopher Clark <christopher.clark6 at baesystems.com>
---
 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 38cecd1..bf4b3c2 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() {
-- 
2.7.4



More information about the meta-virtualization mailing list