Commit 765ff22d authored by Arnd Bergmann's avatar Arnd Bergmann

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: default avatarArnd Bergmann <arnd@arndb.de>
parent fc2f669e
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment