xref: /linux/arch/arm/mach-omap1/Makefile (revision b63128e81214cc2db2995d690438055c26d213a5)
1b288f75fSTony Lindgren#
2b288f75fSTony Lindgren# Makefile for the linux kernel.
3b288f75fSTony Lindgren#
4b288f75fSTony Lindgren
5b288f75fSTony Lindgren# Common support
652650505SPaul Walmsleyobj-y := io.o id.o sram.o irq.o mux.o serial.o devices.o
752650505SPaul Walmsleyobj-y += clock.o clock_data.o opp_data.o
8120db2cbSTony Lindgren
944ec9a33SEduardo Valentinobj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
1044ec9a33SEduardo Valentin
11120db2cbSTony Lindgrenobj-$(CONFIG_OMAP_MPU_TIMER)	+= time.o
12a57fb870SKevin Hilmanobj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
13120db2cbSTony Lindgren
14120db2cbSTony Lindgren# Power Management
15120db2cbSTony Lindgrenobj-$(CONFIG_PM) += pm.o sleep.o
16120db2cbSTony Lindgren
17ebe3b0e7STony Lindgren# DSP
18ebe3b0e7STony Lindgrenobj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
19ebe3b0e7STony Lindgrenmailbox_mach-objs		:= mailbox.o
20ebe3b0e7STony Lindgren
21*b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
22*b63128e8STony Lindgrenobj-y					+= $(i2c-omap-m) $(i2c-omap-y)
23*b63128e8STony Lindgren
24b288f75fSTony Lindgrenled-y := leds.o
25b288f75fSTony Lindgren
26b288f75fSTony Lindgren# Specific board support
27138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
28b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
29b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
30b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
31495f71dbSBrian Swetlandobj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
32b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
33138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
34b288f75fSTony Lindgrenobj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
353179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
36ec70e8afSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
37dc563b4fSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
38120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
39120db2cbSTony Lindgrenobj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o
40087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
419c2816f7SCory Maccarroneobj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
42b288f75fSTony Lindgren
433179a019STony Lindgrenifeq ($(CONFIG_ARCH_OMAP15XX),y)
44b288f75fSTony Lindgren# Innovator-1510 FPGA
45b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
46b288f75fSTony Lindgrenendif
47b288f75fSTony Lindgren
48b288f75fSTony Lindgren# LEDs support
49b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
507c38cf02STony Lindgrenled-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
51b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_INNOVATOR)	+= leds-innovator.o
52b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_PERSEUS2)	+= leds-h2p2-debug.o
53b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_OSK)		+= leds-osk.o
54b288f75fSTony Lindgrenobj-$(CONFIG_LEDS)			+= $(led-y)
55