blob: 1bda8f5d754666550c24d3881cf0b7c59185848e [file] [log] [blame]
Tony Lindgrenb288f752005-07-10 19:58:08 +01001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Tony Lindgren99f143b2008-07-03 12:24:38 +03006obj-y := io.o id.o sram.o clock.o irq.o mux.o serial.o devices.o
Tony Lindgren120db2c2006-04-02 17:46:27 +01007
Eduardo Valentin44ec9a32008-07-03 12:24:40 +03008obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
9
Kevin Hilmana57fb872007-11-12 23:24:05 -080010obj-$(CONFIG_OMAP_MPU_TIMER) += time.o
11obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010012
13# Power Management
14obj-$(CONFIG_PM) += pm.o sleep.o
15
Tony Lindgrenb288f752005-07-10 19:58:08 +010016led-y := leds.o
17
18# Specific board support
Felipe Balbi138ab9f2007-11-27 00:01:45 -040019obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010020obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
21obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
22obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o
Brian Swetland495f71d2006-06-26 16:16:03 -070023obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010024obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
Felipe Balbi138ab9f2007-11-27 00:01:45 -040025obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010026obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
Tony Lindgren3179a012005-11-10 14:26:48 +000027obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
Marek Vasutec70e8a2006-12-06 17:13:57 -080028obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
Marek Vasutdc563b42006-12-06 17:14:07 -080029obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010030obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
31obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o
Carlos Eduardo Aguiar087c5032007-11-30 01:52:53 -040032obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010033
Tony Lindgren3179a012005-11-10 14:26:48 +000034ifeq ($(CONFIG_ARCH_OMAP15XX),y)
Tony Lindgrenb288f752005-07-10 19:58:08 +010035# Innovator-1510 FPGA
36obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
37endif
38
39# LEDs support
40led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
Tony Lindgren7c38cf02005-09-08 23:07:38 +010041led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010042led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o
43led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o
44led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o
45obj-$(CONFIG_LEDS) += $(led-y)