aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-keystone/Makefile')
-rw-r--r--arch/arm/mach-keystone/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-keystone/Makefile b/arch/arm/mach-keystone/Makefile
index 3f6b8ab82235..ddc52b05dc84 100644
--- a/arch/arm/mach-keystone/Makefile
+++ b/arch/arm/mach-keystone/Makefile
@@ -1,2 +1,6 @@
-obj-y := keystone.o
+obj-y := keystone.o smc.o
+
+plus_sec := $(call as-instr,.arch_extension sec,+sec)
+AFLAGS_smc.o :=-Wa,-march=armv7-a$(plus_sec)
+
obj-$(CONFIG_SMP) += platsmp.o