blob: de3cc130ab8e182dacde7d7e949c4952deeb8216 [file] [log] [blame]
Tony Lindgrenb288f752005-07-10 19:58:08 +01001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Ladislav Michl561b0362010-02-15 10:03:32 -08006obj-y := io.o id.o sram.o irq.o mux.o flash.o serial.o devices.o
Paul Walmsley52650502009-12-08 16:29:38 -07007obj-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
Kevin Hilmane933ec72010-06-17 15:48:43 -070015obj-$(CONFIG_PM) += pm.o sleep.o pm_bus.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010016
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
Tony Lindgrendd0cdd82010-07-05 16:31:30 +030026usb-fs-$(CONFIG_USB) := usb.o
27obj-y += $(usb-fs-m) $(usb-fs-y)
28
Tony Lindgrenb288f752005-07-10 19:58:08 +010029# Specific board support
Felipe Balbi138ab9f2007-11-27 00:01:45 -040030obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010031obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
32obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
33obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o
Brian Swetland495f71d2006-06-26 16:16:03 -070034obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010035obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
Felipe Balbi138ab9f2007-11-27 00:01:45 -040036obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010037obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
Tony Lindgren3179a012005-11-10 14:26:48 +000038obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
Marek Vasutec70e8a2006-12-06 17:13:57 -080039obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
Marek Vasutdc563b42006-12-06 17:14:07 -080040obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010041obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
Janusz Krzysztofik9632f982010-11-16 14:26:57 -080042obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
43 ams-delta-fiq-handler.o
Carlos Eduardo Aguiar087c5032007-11-30 01:52:53 -040044obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
Cory Maccarrone9c2816f2009-11-22 10:11:34 -080045obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010046
Tony Lindgren3179a012005-11-10 14:26:48 +000047ifeq ($(CONFIG_ARCH_OMAP15XX),y)
Tony Lindgrenb288f752005-07-10 19:58:08 +010048# Innovator-1510 FPGA
49obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
50endif
51
52# LEDs support
53led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
Tony Lindgren7c38cf02005-09-08 23:07:38 +010054led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010055led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o
56led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o
57led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o
58obj-$(CONFIG_LEDS) += $(led-y)
Janusz Krzysztofikf8e9e982009-12-11 16:16:33 -080059
60ifneq ($(CONFIG_FB_OMAP),)
61obj-y += lcd_dma.o
62endif