blob: 88629a7455a6ff64e36180411cfbbf1df37ea2e4 [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
Hiroshi DOYUcaf60772009-01-28 21:32:09 +020031iommu-y += iommu2.o
32iommu-$(CONFIG_ARCH_OMAP3) += omap3-iommu.o
33
34obj-$(CONFIG_OMAP_IOMMU) += $(iommu-y)
35
Tony Lindgren1dbae812005-11-10 14:26:51 +000036# Specific board support
37obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
38obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080039obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
40 mmc-twl4030.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010041obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080042obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
43 mmc-twl4030.o
44obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
45 mmc-twl4030.o
46obj-$(CONFIG_MACH_OVERO) += board-overo.o \
47 mmc-twl4030.o
48obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
49 mmc-twl4030.o
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -070050obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
51 mmc-twl4030.o
Tony Lindgren1dbae812005-11-10 14:26:51 +000052
Lauri Leukkunenffe7f952009-03-23 18:38:17 -070053obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
54 board-rx51-peripherals.o \
Tony Lindgrenad19d8d2009-03-30 22:58:31 +010055 mmc-twl4030.o
56
Felipe Balbi18cb7ac2009-03-23 18:34:06 -070057# Platform specific device init code
58ifeq ($(CONFIG_USB_MUSB_SOC),y)
59obj-y += usb-musb.o
60endif