Makefile (05da34d832d404ac9094db57e9295000207c9d62) Makefile (a890b6760d975cdbdfcdf5753dab4c91059af9b1)
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
7 common.o gpio.o dma.o wd_timer.o display.o
8
9omap-2-3-common = irq.o sdrc.o
10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o
12clock-common = clock.o clock_common_data.o \
13 clkt_dpll.o clkt_clksel.o
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
7 common.o gpio.o dma.o wd_timer.o display.o
8
9omap-2-3-common = irq.o sdrc.o
10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o
12clock-common = clock.o clock_common_data.o \
13 clkt_dpll.o clkt_clksel.o
14secure-common = omap-smc.o omap-secure.o
15
14
16obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
17obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
18obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common)
15obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
16obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common)
17obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common)
19
20obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
21
22obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
23
24# SMP support ONLY available for OMAP4
25obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
26obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o
27obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
18
19obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
20
21obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
22
23# SMP support ONLY available for OMAP4
24obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
25obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o
26obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
28obj-$(CONFIG_ARCH_OMAP4) += omap4-common.o omap-wakeupgen.o \
29 sleep44xx.o
27obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o
30
31plus_sec := $(call as-instr,.arch_extension sec,+sec)
32AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
28
29plus_sec := $(call as-instr,.arch_extension sec,+sec)
30AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
33AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec)
34AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec)
31AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec)
35
36# Functions loaded to SRAM
37obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
38obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
39obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
40
41AFLAGS_sram242x.o :=-Wa,-march=armv6
42AFLAGS_sram243x.o :=-Wa,-march=armv6

--- 17 unchanged lines hidden (view full) ---

60endif
61
62# Power Management
63ifeq ($(CONFIG_PM),y)
64obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
65obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
66obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o \
67 cpuidle34xx.o
32
33# Functions loaded to SRAM
34obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
35obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
36obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
37
38AFLAGS_sram242x.o :=-Wa,-march=armv6
39AFLAGS_sram243x.o :=-Wa,-march=armv6

--- 17 unchanged lines hidden (view full) ---

57endif
58
59# Power Management
60ifeq ($(CONFIG_PM),y)
61obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
62obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
63obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o \
64 cpuidle34xx.o
68obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o \
69 cpuidle44xx.o
65obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o
70obj-$(CONFIG_PM_DEBUG) += pm-debug.o
71obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o smartreflex.o
72obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
73
74AFLAGS_sleep24xx.o :=-Wa,-march=armv6
75AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
76
77ifeq ($(CONFIG_PM_VERBOSE),y)

--- 153 unchanged lines hidden (view full) ---

231obj-$(CONFIG_MACH_PCM049) += board-omap4pcm049.o
232
233obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
234
235obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
236
237obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o
238obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
66obj-$(CONFIG_PM_DEBUG) += pm-debug.o
67obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o smartreflex.o
68obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
69
70AFLAGS_sleep24xx.o :=-Wa,-march=armv6
71AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
72
73ifeq ($(CONFIG_PM_VERBOSE),y)

--- 153 unchanged lines hidden (view full) ---

227obj-$(CONFIG_MACH_PCM049) += board-omap4pcm049.o
228
229obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
230
231obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
232
233obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o
234obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
235obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o
239
240# Platform specific device init code
241
242omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
243omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
244obj-y += $(omap-flash-y) $(omap-flash-m)
245
246omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o

--- 25 unchanged lines hidden ---
236
237# Platform specific device init code
238
239omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
240omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
241obj-y += $(omap-flash-y) $(omap-flash-m)
242
243omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o

--- 25 unchanged lines hidden ---