summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tango/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-29 12:43:35 (GMT)
committerArnd Bergmann <arnd@arndb.de>2015-12-31 16:48:32 (GMT)
commit765ff22d54591a24fe81f6a451b953f43e076ced (patch)
treecd9b31df5ce3626b6e0dae405f68362a6e6dd7c0 /arch/arm/mach-tango/Makefile
parentfc2f669e7d0ea9559cbdc229ff97f9fff5f8de4f (diff)
downloadlinux-765ff22d54591a24fe81f6a451b953f43e076ced.tar.xz
ARM: tango: pass ARM arch level for smc.S
allmodconfig is broken by the addition of the -mcpu=cortex-a9 flag for smc.S: arch/arm/mach-tango/smc.S:1:0: warning: switch -mcpu=cortex-a9 conflicts with -march=armv6k switch This sets the flag in the same way that all other platforms do, to fix the compile error. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tango/Makefile')
-rw-r--r--arch/arm/mach-tango/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tango/Makefile b/arch/arm/mach-tango/Makefile
index 0d7e2b5..99422ea 100644
--- a/arch/arm/mach-tango/Makefile
+++ b/arch/arm/mach-tango/Makefile
@@ -1,2 +1,3 @@
-asflags-y += -mcpu=cortex-a9
+plus_sec := $(call as-instr,.arch_extension sec,+sec)
+AFLAGS_smc.o :=-Wa,-march=armv7-a$(plus_sec)
obj-y += setup.o smc.o