xref: /openbmc/linux/arch/arm/mach-omap1/Makefile (revision 97933d6c)
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
9obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
10
11obj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
12
13# Power Management
14obj-$(CONFIG_PM) += pm.o sleep.o
15
16# DSP
17obj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
18mailbox_mach-objs		:= mailbox.o
19
20i2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
21obj-y					+= $(i2c-omap-m) $(i2c-omap-y)
22
23led-y := leds.o
24
25usb-fs-$(CONFIG_USB)			:= usb.o
26obj-y					+= $(usb-fs-m) $(usb-fs-y)
27
28# Specific board support
29obj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
30obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
31obj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
32obj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
33obj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
34obj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
35obj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
36obj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
37obj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
38obj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
39obj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
40obj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
41obj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
42					   ams-delta-fiq-handler.o
43obj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
44obj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
45
46ifeq ($(CONFIG_ARCH_OMAP15XX),y)
47# Innovator-1510 FPGA
48obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
49endif
50
51# 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
57# LEDs support
58led-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
59led-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
60led-$(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)
64
65ifneq ($(CONFIG_FB_OMAP),)
66obj-y += lcd_dma.o
67endif
68