diff options
author | Kamil Dziezyk <kamil.dziezyk@arm.com> | 2022-01-13 12:30:59 +0100 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-01-18 22:43:28 -0500 |
commit | b0c10d29cb77fa6de202eeafa000d514893f5d26 (patch) | |
tree | a8096366d7803b895792a4730f95693d3d267333 /recipes-extended | |
parent | 44dad5105d408e7b6217600eba3672e72db0f42f (diff) | |
download | meta-virtualization-b0c10d29cb77fa6de202eeafa000d514893f5d26.tar.gz |
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>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/xen/xen-hypervisor.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc index cffd4914..81e361f1 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}" | |||
103 | # Specify the root dir of the .config file for do_menuconfig and do_diffconfig | 103 | # Specify the root dir of the .config file for do_menuconfig and do_diffconfig |
104 | # tasks | 104 | # tasks |
105 | KCONFIG_CONFIG_ROOTDIR = "${S}/xen" | 105 | KCONFIG_CONFIG_ROOTDIR = "${S}/xen" |
106 | |||
107 | # Xen is setting all CC flags on its own. Make sure that they are not modified | ||
108 | # for aarch64, e.g. with architecture-specific optimizations. | ||
109 | TUNE_CCARGS:aarch64="" | ||