Merge branch 'master' into next
[linux-2.6] / arch / arm / mach-omap2 / Makefile
1 #
2 # Makefile for the linux kernel.
3 #
4
5 # Common support
6 obj-y := irq.o id.o io.o sdrc.o control.o prcm.o clock.o mux.o \
7                 devices.o serial.o gpmc.o timer-gp.o powerdomain.o \
8                 clockdomain.o
9
10 obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
11
12 # Functions loaded to SRAM
13 obj-$(CONFIG_ARCH_OMAP2420)             += sram242x.o
14 obj-$(CONFIG_ARCH_OMAP2430)             += sram243x.o
15 obj-$(CONFIG_ARCH_OMAP3)                += sram34xx.o
16
17 # SMS/SDRC
18 obj-$(CONFIG_ARCH_OMAP2)                += sdrc2xxx.o
19 # obj-$(CONFIG_ARCH_OMAP3)              += sdrc3xxx.o
20
21 # Power Management
22 ifeq ($(CONFIG_PM),y)
23 obj-y                                   += pm.o
24 obj-$(CONFIG_ARCH_OMAP24XX)             += sleep24xx.o
25 endif
26
27 # Clock framework
28 obj-$(CONFIG_ARCH_OMAP2)                += clock24xx.o
29 obj-$(CONFIG_ARCH_OMAP3)                += clock34xx.o
30
31 # Specific board support
32 obj-$(CONFIG_MACH_OMAP_GENERIC)         += board-generic.o
33 obj-$(CONFIG_MACH_OMAP_H4)              += board-h4.o
34 obj-$(CONFIG_MACH_OMAP_2430SDP)         += board-2430sdp.o \
35                                            mmc-twl4030.o
36 obj-$(CONFIG_MACH_OMAP_APOLLON)         += board-apollon.o
37 obj-$(CONFIG_MACH_OMAP3_BEAGLE)         += board-omap3beagle.o \
38                                            mmc-twl4030.o
39 obj-$(CONFIG_MACH_OMAP_LDP)             += board-ldp.o \
40                                            mmc-twl4030.o
41 obj-$(CONFIG_MACH_OVERO)                += board-overo.o \
42                                            mmc-twl4030.o
43 obj-$(CONFIG_MACH_OMAP3_PANDORA)        += board-omap3pandora.o \
44                                            mmc-twl4030.o
45 obj-$(CONFIG_MACH_OMAP_3430SDP)         += board-3430sdp.o \
46                                            mmc-twl4030.o
47
48 obj-$(CONFIG_MACH_NOKIA_RX51)           += board-rx51.o \
49                                            board-rx51-peripherals.o \
50                                            mmc-twl4030.o
51
52 # Platform specific device init code
53 ifeq ($(CONFIG_USB_MUSB_SOC),y)
54 obj-y                                   += usb-musb.o
55 endif