blob: a2c3fcc27a22990e4d1a2f3220b3d6a079100148 [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Paul Walmsleyf2ab9972009-01-28 12:27:37 -07006obj-y := irq.o id.o io.o sdrc.o control.o prcm.o clock.o mux.o \
Paul Walmsleyd459bfe2008-08-19 11:08:43 +03007 devices.o serial.o gpmc.o timer-gp.o powerdomain.o \
8 clockdomain.o
Tony Lindgren1dbae812005-11-10 14:26:51 +00009
Eduardo Valentin78673bc2008-07-03 12:24:40 +030010obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
11
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030012# Functions loaded to SRAM
13obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
14obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030015obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030016
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070017# SMS/SDRC
18obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
19# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
20
Tony Lindgren120db2c2006-04-02 17:46:27 +010021# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030022ifeq ($(CONFIG_PM),y)
23obj-y += pm.o
24obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o
25endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010026
Paul Walmsley3d876e52008-03-18 14:41:40 +020027# Clock framework
28obj-$(CONFIG_ARCH_OMAP2) += clock24xx.o
Paul Walmsley02e19a92008-03-18 15:09:51 +020029obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o
Paul Walmsley3d876e52008-03-18 14:41:40 +020030
Tony Lindgren1dbae812005-11-10 14:26:51 +000031# Specific board support
32obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
33obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080034obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
35 mmc-twl4030.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010036obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080037obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
38 mmc-twl4030.o
39obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
40 mmc-twl4030.o
41obj-$(CONFIG_MACH_OVERO) += board-overo.o \
42 mmc-twl4030.o
43obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
44 mmc-twl4030.o
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -070045obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
46 mmc-twl4030.o
Tony Lindgren1dbae812005-11-10 14:26:51 +000047
Lauri Leukkunenffe7f952009-03-23 18:38:17 -070048obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
49 board-rx51-peripherals.o \
Felipe Balbi18cb7ac2009-03-23 18:34:06 -070050# Platform specific device init code
51ifeq ($(CONFIG_USB_MUSB_SOC),y)
52obj-y += usb-musb.o
53endif