blob: 0e8ea95ea82268958b1dcfd5edf75b55b2d8f6b4 [file] [log] [blame]
Tony Lindgrenb288f752005-07-10 19:58:08 +01001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Tony Lindgrenf205cfa2012-10-29 14:46:30 -07006obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
Tony Lindgren16d60bb2012-12-16 11:39:40 -08007 serial.o devices.o dma.o fb.o
Tarun Kanti DebBarma97933d62011-09-20 17:00:17 +05308obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
Tony Lindgren120db2c2006-04-02 17:46:27 +01009
Peter Ujfalusi3ead4672012-03-09 10:23:27 +020010ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
11obj-y += mcbsp.o
12endif
Eduardo Valentin44ec9a32008-07-03 12:24:40 +030013
Kevin Hilmana57fb872007-11-12 23:24:05 -080014obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010015
Paul Walmsley6f3c1af2012-04-13 06:34:27 -060016# OCPI interconnect support for 1710, 1610 and 5912
17obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
18
Tony Lindgren120db2c2006-04-02 17:46:27 +010019# Power Management
Kevin Hilmane9e35c52011-06-14 05:53:18 -070020obj-$(CONFIG_PM) += pm.o sleep.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010021
Tony Lindgrenb63128e2009-12-11 16:16:32 -080022i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
23obj-y += $(i2c-omap-m) $(i2c-omap-y)
24
Tony Lindgrenb288f752005-07-10 19:58:08 +010025led-y := leds.o
26
Tony Lindgrendd0cdd82010-07-05 16:31:30 +030027usb-fs-$(CONFIG_USB) := usb.o
28obj-y += $(usb-fs-m) $(usb-fs-y)
29
Tony Lindgrenb288f752005-07-10 19:58:08 +010030# Specific board support
Paul Walmsley31cde042012-04-13 06:34:31 -060031obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
32 board-nand.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010033obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
34obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
Paul Walmsley31cde042012-04-13 06:34:31 -060035obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o
36obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o board-nand.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010037obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
Paul Walmsley31cde042012-04-13 06:34:31 -060038obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \
39 board-nand.o
Tony Lindgren3179a012005-11-10 14:26:48 +000040obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
Marek Vasutec70e8a2006-12-06 17:13:57 -080041obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
Marek Vasutdc563b42006-12-06 17:14:07 -080042obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010043obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
Janusz Krzysztofik9632f982010-11-16 14:26:57 -080044obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
45 ams-delta-fiq-handler.o
Carlos Eduardo Aguiar087c5032007-11-30 01:52:53 -040046obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
Cory Maccarrone9c2816f2009-11-22 10:11:34 -080047obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
Tony Lindgrenb288f752005-07-10 19:58:08 +010048
Tony Lindgren3179a012005-11-10 14:26:48 +000049ifeq ($(CONFIG_ARCH_OMAP15XX),y)
Tony Lindgrenb288f752005-07-10 19:58:08 +010050# Innovator-1510 FPGA
51obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
52endif
53
Varadarajan, Charulatha77640aa2010-12-07 16:26:57 -080054# GPIO
55obj-$(CONFIG_ARCH_OMAP730) += gpio7xx.o
56obj-$(CONFIG_ARCH_OMAP850) += gpio7xx.o
57obj-$(CONFIG_ARCH_OMAP15XX) += gpio15xx.o
58obj-$(CONFIG_ARCH_OMAP16XX) += gpio16xx.o
59
Janusz Krzysztofikf8e9e982009-12-11 16:16:33 -080060ifneq ($(CONFIG_FB_OMAP),)
61obj-y += lcd_dma.o
62endif