blob: 398e9e53e1891afcbf8ade3a6dc3d1a6d5890c56 [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
Tarun Kanti DebBarma97933d62011-09-20 17:00:17 +05307obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
Tony Lindgren120db2c2006-04-02 17:46:27 +01008
Peter Ujfalusi3ead4672012-03-09 10:23:27 +02009ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
10obj-y += mcbsp.o
11endif
Eduardo Valentin44ec9a32008-07-03 12:24:40 +030012
Kevin Hilmana57fb872007-11-12 23:24:05 -080013obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010014
Paul Walmsley6f3c1af2012-04-13 06:34:27 -060015# OCPI interconnect support for 1710, 1610 and 5912
16obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
17
Tony Lindgren120db2c2006-04-02 17:46:27 +010018# Power Management
Kevin Hilmane9e35c52011-06-14 05:53:18 -070019obj-$(CONFIG_PM) += pm.o sleep.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010020
Tony Lindgrenebe3b0e2009-05-25 11:08:44 -070021# DSP
22obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
23mailbox_mach-objs := mailbox.o
24
Tony Lindgrenb63128e2009-12-11 16:16:32 -080025i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
26obj-y += $(i2c-omap-m) $(i2c-omap-y)
27
Tony Lindgrenb288f752005-07-10 19:58:08 +010028led-y := leds.o
29
Tony Lindgrendd0cdd82010-07-05 16:31:30 +030030usb-fs-$(CONFIG_USB) := usb.o
31obj-y += $(usb-fs-m) $(usb-fs-y)
32
Tony Lindgrenb288f752005-07-10 19:58:08 +010033# Specific board support
Paul Walmsley31cde042012-04-13 06:34:31 -060034obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
35 board-nand.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010036obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
37obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
Paul Walmsley31cde042012-04-13 06:34:31 -060038obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o
39obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o board-nand.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010040obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
Paul Walmsley31cde042012-04-13 06:34:31 -060041obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \
42 board-nand.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010043obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
Tony Lindgren3179a012005-11-10 14:26:48 +000044obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
Marek Vasutec70e8a2006-12-06 17:13:57 -080045obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
Marek Vasutdc563b42006-12-06 17:14:07 -080046obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010047obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
Janusz Krzysztofik9632f982010-11-16 14:26:57 -080048obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
49 ams-delta-fiq-handler.o
Carlos Eduardo Aguiar087c5032007-11-30 01:52:53 -040050obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
Cory Maccarrone9c2816f2009-11-22 10:11:34 -080051obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010052
Tony Lindgren3179a012005-11-10 14:26:48 +000053ifeq ($(CONFIG_ARCH_OMAP15XX),y)
Tony Lindgrenb288f752005-07-10 19:58:08 +010054# Innovator-1510 FPGA
55obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
56endif
57
Varadarajan, Charulatha77640aa2010-12-07 16:26:57 -080058# GPIO
59obj-$(CONFIG_ARCH_OMAP730) += gpio7xx.o
60obj-$(CONFIG_ARCH_OMAP850) += gpio7xx.o
61obj-$(CONFIG_ARCH_OMAP15XX) += gpio15xx.o
62obj-$(CONFIG_ARCH_OMAP16XX) += gpio16xx.o
63
Tony Lindgrenb288f752005-07-10 19:58:08 +010064# LEDs support
65led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
Tony Lindgren7c38cf02005-09-08 23:07:38 +010066led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010067led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o
68led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o
69led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o
70obj-$(CONFIG_LEDS) += $(led-y)
Janusz Krzysztofikf8e9e982009-12-11 16:16:33 -080071
72ifneq ($(CONFIG_FB_OMAP),)
73obj-y += lcd_dma.o
74endif