blob: 6867cd3ad0b4a7c9c391256afe760328541ccc0e [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 Lindgrenebe3b0e2009-05-25 11:08:44 -070016# DSP
17obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
18mailbox_mach-objs := mailbox.o
19
Tony Lindgrenb288f752005-07-10 19:58:08 +010020led-y := leds.o
21
22# Specific board support
Felipe Balbi138ab9f2007-11-27 00:01:45 -040023obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010024obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
25obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
26obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o
Brian Swetland495f71d2006-06-26 16:16:03 -070027obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010028obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
Felipe Balbi138ab9f2007-11-27 00:01:45 -040029obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010030obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
Tony Lindgren3179a012005-11-10 14:26:48 +000031obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
Marek Vasutec70e8a2006-12-06 17:13:57 -080032obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
Marek Vasutdc563b42006-12-06 17:14:07 -080033obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010034obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
35obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o
Carlos Eduardo Aguiar087c5032007-11-30 01:52:53 -040036obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010037
Tony Lindgren3179a012005-11-10 14:26:48 +000038ifeq ($(CONFIG_ARCH_OMAP15XX),y)
Tony Lindgrenb288f752005-07-10 19:58:08 +010039# Innovator-1510 FPGA
40obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
41endif
42
43# LEDs support
44led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
Tony Lindgren7c38cf02005-09-08 23:07:38 +010045led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010046led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o
47led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o
48led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o
49obj-$(CONFIG_LEDS) += $(led-y)