xref: /openbmc/linux/arch/arm/mach-omap1/Makefile (revision d670b479)
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# OCPI interconnect support for 1710, 1610 and 5912
16obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
17
18# Power Management
19obj-$(CONFIG_PM) += pm.o sleep.o
20
21# DSP
22obj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
23mailbox_mach-objs		:= mailbox.o
24
25i2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
26obj-y					+= $(i2c-omap-m) $(i2c-omap-y)
27
28led-y := leds.o
29
30usb-fs-$(CONFIG_USB)			:= usb.o
31obj-y					+= $(usb-fs-m) $(usb-fs-y)
32
33# Specific board support
34obj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o \
35					   board-nand.o
36obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
37obj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
38obj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o board-nand.o
39obj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o board-nand.o
40obj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
41obj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o \
42					   board-nand.o
43obj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
44obj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
45obj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
46obj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
47obj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
48obj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
49					   ams-delta-fiq-handler.o
50obj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
51obj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
52
53ifeq ($(CONFIG_ARCH_OMAP15XX),y)
54# Innovator-1510 FPGA
55obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
56endif
57
58# 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
64# LEDs support
65led-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
66led-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
67led-$(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)
71
72ifneq ($(CONFIG_FB_OMAP),)
73obj-y += lcd_dma.o
74endif
75