blob: e08e482b89f571100a27b00af93e52f34b07d8b4 [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Tony Lindgrenc2d43e32008-07-03 12:24:38 +03006obj-y := irq.o id.o io.o memory.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
Tony Lindgren120db2c2006-04-02 17:46:27 +010017# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030018ifeq ($(CONFIG_PM),y)
19obj-y += pm.o
20obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o
21endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010022
Paul Walmsley3d876e52008-03-18 14:41:40 +020023# Clock framework
24obj-$(CONFIG_ARCH_OMAP2) += clock24xx.o
Paul Walmsley02e19a92008-03-18 15:09:51 +020025obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o
Paul Walmsley3d876e52008-03-18 14:41:40 +020026
Tony Lindgren1dbae812005-11-10 14:26:51 +000027# Specific board support
28obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
29obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080030obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
31 mmc-twl4030.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010032obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080033obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
34 mmc-twl4030.o
35obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
36 mmc-twl4030.o
37obj-$(CONFIG_MACH_OVERO) += board-overo.o \
38 mmc-twl4030.o
39obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
40 mmc-twl4030.o
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -070041obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
42 mmc-twl4030.o
Tony Lindgren1dbae812005-11-10 14:26:51 +000043
Lauri Leukkunenffe7f952009-03-23 18:38:17 -070044obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
45 board-rx51-peripherals.o \
Felipe Balbi18cb7ac2009-03-23 18:34:06 -070046# Platform specific device init code
47ifeq ($(CONFIG_USB_MUSB_SOC),y)
48obj-y += usb-musb.o
49endif