blob: af98117043d214f8e088e8fd1429656410300a14 [file] [log] [blame]
Tony Lindgrenb288f752005-07-10 19:58:08 +01001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Tony Lindgren05b5ca92011-01-18 12:42:23 -08006obj-y := io.o id.o sram.o time.o irq.o mux.o flash.o serial.o devices.o dma.o
Russell King - ARM Linuxee54dba2011-01-27 16:39:45 -08007obj-y += clock.o clock_data.o opp_data.o reset.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_32K_TIMER) += timer32k.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010012
13# Power Management
Kevin Hilmane933ec72010-06-17 15:48:43 -070014obj-$(CONFIG_PM) += pm.o sleep.o pm_bus.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010015
Tony Lindgrenebe3b0e2009-05-25 11:08:44 -070016# DSP
17obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
18mailbox_mach-objs := mailbox.o
19
Tony Lindgrenb63128e2009-12-11 16:16:32 -080020i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
21obj-y += $(i2c-omap-m) $(i2c-omap-y)
22
Tony Lindgrenb288f752005-07-10 19:58:08 +010023led-y := leds.o
24
Tony Lindgrendd0cdd82010-07-05 16:31:30 +030025usb-fs-$(CONFIG_USB) := usb.o
26obj-y += $(usb-fs-m) $(usb-fs-y)
27
Tony Lindgrenb288f752005-07-10 19:58:08 +010028# Specific board support
Felipe Balbi138ab9f2007-11-27 00:01:45 -040029obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010030obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
31obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
32obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o
Brian Swetland495f71d2006-06-26 16:16:03 -070033obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010034obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
Felipe Balbi138ab9f2007-11-27 00:01:45 -040035obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010036obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
Tony Lindgren3179a012005-11-10 14:26:48 +000037obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
Marek Vasutec70e8a2006-12-06 17:13:57 -080038obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
Marek Vasutdc563b42006-12-06 17:14:07 -080039obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010040obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
Janusz Krzysztofik9632f982010-11-16 14:26:57 -080041obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
42 ams-delta-fiq-handler.o
Carlos Eduardo Aguiar087c5032007-11-30 01:52:53 -040043obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
Cory Maccarrone9c2816f2009-11-22 10:11:34 -080044obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010045
Tony Lindgren3179a012005-11-10 14:26:48 +000046ifeq ($(CONFIG_ARCH_OMAP15XX),y)
Tony Lindgrenb288f752005-07-10 19:58:08 +010047# Innovator-1510 FPGA
48obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
49endif
50
Varadarajan, Charulatha77640aa2010-12-07 16:26:57 -080051# GPIO
52obj-$(CONFIG_ARCH_OMAP730) += gpio7xx.o
53obj-$(CONFIG_ARCH_OMAP850) += gpio7xx.o
54obj-$(CONFIG_ARCH_OMAP15XX) += gpio15xx.o
55obj-$(CONFIG_ARCH_OMAP16XX) += gpio16xx.o
56
Tony Lindgrenb288f752005-07-10 19:58:08 +010057# LEDs support
58led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
Tony Lindgren7c38cf02005-09-08 23:07:38 +010059led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010060led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o
61led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o
62led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o
63obj-$(CONFIG_LEDS) += $(led-y)
Janusz Krzysztofikf8e9e982009-12-11 16:16:33 -080064
65ifneq ($(CONFIG_FB_OMAP),)
66obj-y += lcd_dma.o
67endif