diff options
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 34c2867e0f63..f6f151c4f089 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -34,6 +34,10 @@ obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o | |||
34 | obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o | 34 | obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o |
35 | obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o | 35 | obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o |
36 | 36 | ||
37 | AFLAGS_sram242x.o :=-Wa,-march=armv6 | ||
38 | AFLAGS_sram243x.o :=-Wa,-march=armv6 | ||
39 | AFLAGS_sram34xx.o :=-Wa,-march=armv7-a | ||
40 | |||
37 | # Pin multiplexing | 41 | # Pin multiplexing |
38 | obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o | 42 | obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o |
39 | 43 | ||
@@ -47,6 +51,10 @@ obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o | |||
47 | obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o | 51 | obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o |
48 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o | 52 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o |
49 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o | 53 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
54 | |||
55 | AFLAGS_sleep24xx.o :=-Wa,-march=armv6 | ||
56 | AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a | ||
57 | |||
50 | endif | 58 | endif |
51 | 59 | ||
52 | # PRCM | 60 | # PRCM |