9
0
Fork 0

ARM: add AFLAGS for secure monitor files

The instructions used in those files are only supported on ARMv7.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas Stach 2017-03-20 14:07:06 +01:00 committed by Sascha Hauer
parent 82c065d276
commit ac0c067f2b
1 changed files with 2 additions and 0 deletions

View File

@ -36,7 +36,9 @@ endif
obj-$(CONFIG_ARM_PSCI) += psci.o
obj-$(CONFIG_ARM_SECURE_MONITOR) += smccc-call.o
AFLAGS_smccc-call.o :=-Wa,-march=armv7-a
obj-$(CONFIG_ARM_SECURE_MONITOR) += sm.o sm_as.o
AFLAGS_sm_as.o :=-Wa,-march=armv7-a
obj-$(CONFIG_CPU_32v4T) += cache-armv4.o
pbl-$(CONFIG_CPU_32v4T) += cache-armv4.o