blob: 6fd1c1f773981bbeb2655b4b254280100871eb7b [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Tony Lindgrend7607662009-05-25 11:26:47 -07006obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o
7
8omap-2-3-common = irq.o sdrc.o
9prcm-common = prcm.o powerdomain.o
10clock-common = clock.o clockdomain.o
11
12obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common)
13obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common)
Tony Lindgren1dbae812005-11-10 14:26:51 +000014
Eduardo Valentin78673bc2008-07-03 12:24:40 +030015obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
16
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030017# Functions loaded to SRAM
18obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
19obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030020obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030021
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070022# SMS/SDRC
23obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
24# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
25
Tony Lindgren120db2c2006-04-02 17:46:27 +010026# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030027ifeq ($(CONFIG_PM),y)
Kevin Hilman8bd22942009-05-28 10:56:16 -070028obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
Tony Lindgren1835f1d2008-10-06 15:49:15 +030029obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o
Kevin Hilman8bd22942009-05-28 10:56:16 -070030obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
31obj-$(CONFIG_PM_DEBUG) += pm-debug.o
Tony Lindgren1835f1d2008-10-06 15:49:15 +030032endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010033
Paul Walmsley3d876e52008-03-18 14:41:40 +020034# Clock framework
35obj-$(CONFIG_ARCH_OMAP2) += clock24xx.o
Paul Walmsley02e19a92008-03-18 15:09:51 +020036obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o
Paul Walmsley3d876e52008-03-18 14:41:40 +020037
Tony Lindgren1dbae812005-11-10 14:26:51 +000038# Specific board support
39obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
40obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080041obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
42 mmc-twl4030.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010043obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080044obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
45 mmc-twl4030.o
46obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
47 mmc-twl4030.o
48obj-$(CONFIG_MACH_OVERO) += board-overo.o \
49 mmc-twl4030.o
50obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
51 mmc-twl4030.o
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -070052obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
53 mmc-twl4030.o
Tony Lindgren1dbae812005-11-10 14:26:51 +000054
Lauri Leukkunenffe7f952009-03-23 18:38:17 -070055obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
56 board-rx51-peripherals.o \
Tony Lindgrenad19d8d2009-03-30 22:58:31 +010057 mmc-twl4030.o
58
Felipe Balbi18cb7ac2009-03-23 18:34:06 -070059# Platform specific device init code
60ifeq ($(CONFIG_USB_MUSB_SOC),y)
61obj-y += usb-musb.o
62endif