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>
This commit is contained in:
Kamil Dziezyk 2022-01-13 12:30:59 +01:00 committed by Bruce Ashfield
parent 44dad5105d
commit b0c10d29cb

View File

@ -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 # Specify the root dir of the .config file for do_menuconfig and do_diffconfig
# tasks # tasks
KCONFIG_CONFIG_ROOTDIR = "${S}/xen" 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=""