aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Dziezyk <kamil.dziezyk@arm.com>2022-01-13 12:30:59 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-01-18 22:43:28 -0500
commitb0c10d29cb77fa6de202eeafa000d514893f5d26 (patch)
treea8096366d7803b895792a4730f95693d3d267333
parent44dad5105d408e7b6217600eba3672e72db0f42f (diff)
downloadmeta-virtualization-b0c10d29cb77fa6de202eeafa000d514893f5d26.tar.gz
meta-virtualization-b0c10d29cb77fa6de202eeafa000d514893f5d26.tar.bz2
meta-virtualization-b0c10d29cb77fa6de202eeafa000d514893f5d26.zip
xen: Clear TUNE_CCARGS for Xen build for aarch64 machines
Xen build may fail for arm machines that have enabled extra flags, that can be enabled only for specific architecture version, e.g. armv8-2a. Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Acked-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/xen/xen-hypervisor.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc
index cffd491..81e361f 100644
--- a/recipes-extended/xen/xen-hypervisor.inc
+++ b/recipes-extended/xen/xen-hypervisor.inc
@@ -103,3 +103,7 @@ CROSS_CURSES_LIB += "-L${STAGING_LIBDIR_NATIVE}"
# Specify the root dir of the .config file for do_menuconfig and do_diffconfig
# tasks
KCONFIG_CONFIG_ROOTDIR = "${S}/xen"
+
+# Xen is setting all CC flags on its own. Make sure that they are not modified
+# for aarch64, e.g. with architecture-specific optimizations.
+TUNE_CCARGS:aarch64=""