xen, arm32: filter out unwanted tune flags from CPP as per CC

Avoids passing the wrong floating point ABI flags to the linker.

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Christopher Clark 2020-07-17 14:03:49 -07:00 committed by Bruce Ashfield
parent eba860b0d9
commit ee94ad466c

View File

@ -193,6 +193,7 @@ do_post_patch() {
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))" >> ${S}/xen/arch/arm/Rules.mk
echo "CPP := \$(filter-out ${TUNE_CCARGS},\$(CPP))" >> ${S}/xen/arch/arm/Rules.mk
}
addtask post_patch after do_patch before do_configure