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 <christopher.clark6@baesystems.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Christopher Clark 2018-08-18 18:37:15 -07:00 committed by Bruce Ashfield
parent 3266a88142
commit eb1bb802c9

View File

@ -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() {