diff options
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 88629a7455a6..6226e64d99a1 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -3,9 +3,14 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | # Common support | 5 | # Common support |
6 | obj-y := irq.o id.o io.o sdrc.o control.o prcm.o clock.o mux.o \ | 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o |
7 | devices.o serial.o gpmc.o timer-gp.o powerdomain.o \ | 7 | |
8 | clockdomain.o | 8 | omap-2-3-common = irq.o sdrc.o |
9 | prcm-common = prcm.o powerdomain.o | ||
10 | clock-common = clock.o clockdomain.o | ||
11 | |||
12 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) | ||
13 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common) | ||
9 | 14 | ||
10 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o | 15 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o |
11 | 16 | ||
@@ -20,8 +25,10 @@ obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o | |||
20 | 25 | ||
21 | # Power Management | 26 | # Power Management |
22 | ifeq ($(CONFIG_PM),y) | 27 | ifeq ($(CONFIG_PM),y) |
23 | obj-y += pm.o | 28 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o |
24 | obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o | 29 | obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o |
30 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o | ||
31 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o | ||
25 | endif | 32 | endif |
26 | 33 | ||
27 | # Clock framework | 34 | # Clock framework |
@@ -45,6 +52,8 @@ obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \ | |||
45 | mmc-twl4030.o | 52 | mmc-twl4030.o |
46 | obj-$(CONFIG_MACH_OVERO) += board-overo.o \ | 53 | obj-$(CONFIG_MACH_OVERO) += board-overo.o \ |
47 | mmc-twl4030.o | 54 | mmc-twl4030.o |
55 | obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \ | ||
56 | mmc-twl4030.o | ||
48 | obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ | 57 | obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ |
49 | mmc-twl4030.o | 58 | mmc-twl4030.o |
50 | obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ | 59 | obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ |
@@ -53,8 +62,17 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ | |||
53 | obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ | 62 | obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ |
54 | board-rx51-peripherals.o \ | 63 | board-rx51-peripherals.o \ |
55 | mmc-twl4030.o | 64 | mmc-twl4030.o |
65 | obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom2.o \ | ||
66 | mmc-twl4030.o \ | ||
67 | board-zoom-debugboard.o | ||
68 | |||
69 | obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o | ||
56 | 70 | ||
57 | # Platform specific device init code | 71 | # Platform specific device init code |
58 | ifeq ($(CONFIG_USB_MUSB_SOC),y) | ||
59 | obj-y += usb-musb.o | 72 | obj-y += usb-musb.o |
60 | endif | 73 | |
74 | onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o | ||
75 | obj-y += $(onenand-m) $(onenand-y) | ||
76 | |||
77 | smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o | ||
78 | obj-y += $(smc91x-m) $(smc91x-y) | ||