xref: /openbmc/linux/arch/arm/mach-omap1/Makefile (revision 3ead4679)
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-y := io.o id.o sram.o time.o irq.o mux.o flash.o serial.o devices.o dma.o
7obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
8
9ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
10obj-y += mcbsp.o
11endif
12
13obj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
14
15# Power Management
16obj-$(CONFIG_PM) += pm.o sleep.o
17
18# DSP
19obj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
20mailbox_mach-objs		:= mailbox.o
21
22i2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
23obj-y					+= $(i2c-omap-m) $(i2c-omap-y)
24
25led-y := leds.o
26
27usb-fs-$(CONFIG_USB)			:= usb.o
28obj-y					+= $(usb-fs-m) $(usb-fs-y)
29
30# Specific board support
31obj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
32obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
33obj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
34obj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
35obj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
36obj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
37obj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
38obj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
39obj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
40obj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
41obj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
42obj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
43obj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
44					   ams-delta-fiq-handler.o
45obj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
46obj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
47
48ifeq ($(CONFIG_ARCH_OMAP15XX),y)
49# Innovator-1510 FPGA
50obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
51endif
52
53# GPIO
54obj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
55obj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
56obj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
57obj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
58
59# LEDs support
60led-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
61led-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
62led-$(CONFIG_MACH_OMAP_INNOVATOR)	+= leds-innovator.o
63led-$(CONFIG_MACH_OMAP_PERSEUS2)	+= leds-h2p2-debug.o
64led-$(CONFIG_MACH_OMAP_OSK)		+= leds-osk.o
65obj-$(CONFIG_LEDS)			+= $(led-y)
66
67ifneq ($(CONFIG_FB_OMAP),)
68obj-y += lcd_dma.o
69endif
70