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