summaryrefslogtreecommitdiffstats
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, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/Makefile b/arch/arm/mach-keystone/Makefile
new file mode 100644
index 000000000000..ddc52b05dc84
--- /dev/null
+++ b/arch/arm/mach-keystone/Makefile
@@ -0,0 +1,6 @@
+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