diff options
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 1538e32637b9..cdfb5faaec9d 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -26,8 +26,9 @@ obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o | |||
26 | obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o | 26 | obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o |
27 | obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o | 27 | obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o |
28 | 28 | ||
29 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a | 29 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
30 | AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a | 30 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) |
31 | AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec) | ||
31 | 32 | ||
32 | # Functions loaded to SRAM | 33 | # Functions loaded to SRAM |
33 | obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o | 34 | obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o |