The cache-v7 code uses assembler instructions which do not exist on before v7, so explicitely pass armv7-a to this file to make the compiler happy. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/cpu/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile index c29d030..fb3929c 100644 --- a/arch/arm/cpu/Makefile +++ b/arch/arm/cpu/Makefile @@ -17,7 +17,9 @@ obj-$(CONFIG_CPU_32v5) += cache-armv5.o pbl-$(CONFIG_CPU_32v5) += cache-armv5.o obj-$(CONFIG_CPU_32v6) += cache-armv6.o pbl-$(CONFIG_CPU_32v6) += cache-armv6.o +AFLAGS_cache-armv7.o :=-Wa,-march=armv7-a obj-$(CONFIG_CPU_32v7) += cache-armv7.o +AFLAGS_pbl-cache-armv7.o :=-Wa,-march=armv7-a pbl-$(CONFIG_CPU_32v7) += cache-armv7.o obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o -- 1.8.5.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox