summaryrefslogtreecommitdiff
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-11-23 09:14:54 +0100
committerTom Rini <trini@konsulko.com>2019-11-23 14:53:48 -0500
commit16540d07fd62f97838950578008301f1639f33fb (patch)
tree52965efab99494fff6ec88ae9e4d9ad2b0efc466 /arch/arm/Makefile
parent70f681398521c2ec2a75f612c04c506a0696c3b9 (diff)
downloadu-boot-16540d07fd62f97838950578008301f1639f33fb.tar.gz
u-boot-16540d07fd62f97838950578008301f1639f33fb.tar.bz2
u-boot-16540d07fd62f97838950578008301f1639f33fb.zip
arm: fix -march for ARM11
In GCC 9 support for the Armv5 and Armv5E architectures (which have no known implementations) has been removed, cf. https://gcc.gnu.org/gcc-9/changes.html ARM11 is an armv6 implementation. So change the architecture flag for the compiler to armv6 for ARM11. Suggested-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 5384981c17..60af7e3199 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -12,8 +12,8 @@ arch-$(CONFIG_CPU_ARM926EJS) =-march=armv5te
arch-$(CONFIG_CPU_ARM946ES) =-march=armv5te
arch-$(CONFIG_CPU_SA1100) =-march=armv4
arch-$(CONFIG_CPU_PXA) =
-arch-$(CONFIG_CPU_ARM1136) =-march=armv5
-arch-$(CONFIG_CPU_ARM1176) =-march=armv5t
+arch-$(CONFIG_CPU_ARM1136) =-march=armv6
+arch-$(CONFIG_CPU_ARM1176) =-march=armv6
arch-$(CONFIG_CPU_V7A) =$(call cc-option, -march=armv7-a, \
$(call cc-option, -march=armv7))
arch-$(CONFIG_CPU_V7M) =-march=armv7-m