mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-04 14:10:01 +00:00
arm-autonomy/n1sdp: Fix xen build after tunes files update
After update f9cd6797d2 xen build ends with:
| cc1: error: switch '-mcpu=generic' conflicts with '-march=armv8.2-a+crypto' switch [-Werror]
| cc1: all warnings being treated as errors
This patch removes '-march=*' build flag for xen build.
Issue-Id: SCM-2987
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Change-Id: I526c412a0174cdf715b87fcac077b314bf368b8a
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -88,3 +88,7 @@ d.getVar('PREFERRED_PROVIDER_alternate/kernel') else ''}"
|
||||
# Additionnal kernel modules are necessary for n1sdp to be able to mount FAT
|
||||
# filesystems using CP437.
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS:append = " kernel-module-nls-cp437 kernel-module-nls-iso8859-1"
|
||||
|
||||
# '-mcpu=' and '-march=' conflicts for xen build
|
||||
# lets not set '-march=' and let xen to overwrite '-mcpu='
|
||||
TUNE_CCARGS:remove:pn-xen = "${TUNE_CCARGS_MARCH}${TUNE_CCARGS_MARCH_OPTS}"
|
||||
|
||||
Reference in New Issue
Block a user