blob: 9ce17f13d3f1da961bda9d18255b64e51e326f1b [file] [log] [blame]
Tony Lindgrenb288f752005-07-10 19:58:08 +01001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Paul Walmsley52650502009-12-08 16:29:38 -07006obj-y := io.o id.o sram.o irq.o mux.o serial.o devices.o
7obj-y += clock.o clock_data.o opp_data.o
Tony Lindgren120db2c2006-04-02 17:46:27 +01008
Eduardo Valentin44ec9a32008-07-03 12:24:40 +03009obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
10
Kevin Hilmana57fb872007-11-12 23:24:05 -080011obj-$(CONFIG_OMAP_MPU_TIMER) += time.o
12obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010013
14# Power Management
15obj-$(CONFIG_PM) += pm.o sleep.o
16
Tony Lindgrenebe3b0e2009-05-25 11:08:44 -070017# DSP
18obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
19mailbox_mach-objs := mailbox.o
20
Tony Lindgrenb63128e2009-12-11 16:16:32 -080021i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
22obj-y += $(i2c-omap-m) $(i2c-omap-y)
23
Tony Lindgrenb288f752005-07-10 19:58:08 +010024led-y := leds.o
25
26# Specific board support
Felipe Balbi138ab9f2007-11-27 00:01:45 -040027obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010028obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
29obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
30obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o
Brian Swetland495f71d2006-06-26 16:16:03 -070031obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010032obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
Felipe Balbi138ab9f2007-11-27 00:01:45 -040033obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010034obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
Tony Lindgren3179a012005-11-10 14:26:48 +000035obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
Marek Vasutec70e8a2006-12-06 17:13:57 -080036obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
Marek Vasutdc563b42006-12-06 17:14:07 -080037obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010038obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
39obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o
Carlos Eduardo Aguiar087c5032007-11-30 01:52:53 -040040obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
Cory Maccarrone9c2816f2009-11-22 10:11:34 -080041obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010042
Tony Lindgren3179a012005-11-10 14:26:48 +000043ifeq ($(CONFIG_ARCH_OMAP15XX),y)
Tony Lindgrenb288f752005-07-10 19:58:08 +010044# Innovator-1510 FPGA
45obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
46endif
47
48# LEDs support
49led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
Tony Lindgren7c38cf02005-09-08 23:07:38 +010050led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010051led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o
52led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o
53led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o
54obj-$(CONFIG_LEDS) += $(led-y)
Janusz Krzysztofikf8e9e982009-12-11 16:16:33 -080055
56ifneq ($(CONFIG_FB_OMAP),)
57obj-y += lcd_dma.o
58endif