Skip to content

Commit

Permalink
ARM: tango: pass ARM arch level for smc.S
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Dec 31, 2015
1 parent fc2f669 commit 765ff22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-tango/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 765ff22

Please sign in to comment.