diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-01-28 09:36:00 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-01-29 10:30:51 +0100 |
commit | 932d0cc9a33600d4b52d9403bcd5c76d8a4bb930 (patch) | |
tree | 9f26c913438fd7fc9739b48cff6fbbde0d7193ef /arch/arm/cpu/Makefile | |
parent | fd2f50212e26a589181187335aeebc220a893575 (diff) | |
download | barebox-932d0cc9a33600d4b52d9403bcd5c76d8a4bb930.tar.gz barebox-932d0cc9a33600d4b52d9403bcd5c76d8a4bb930.tar.xz |
ARM: Pass armv7-a AFLAGS to cache-v7
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@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/Makefile')
-rw-r--r-- | arch/arm/cpu/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile index c29d03021f..fb3929c94e 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 |