xref: /linux/arch/arm/mach-omap1/Makefile (revision e933ec7c4ebd7e7daaad67b22e5f4a9a0ab102ea)
1b288f75fSTony Lindgren#
2b288f75fSTony Lindgren# Makefile for the linux kernel.
3b288f75fSTony Lindgren#
4b288f75fSTony Lindgren
5b288f75fSTony Lindgren# Common support
6561b036aSLadislav Michlobj-y := io.o id.o sram.o irq.o mux.o flash.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
15*e933ec7cSKevin Hilmanobj-$(CONFIG_PM) += pm.o sleep.o pm_bus.o
16120db2cbSTony Lindgren
17ebe3b0e7STony Lindgren# DSP
18ebe3b0e7STony Lindgrenobj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
19ebe3b0e7STony Lindgrenmailbox_mach-objs		:= mailbox.o
20ebe3b0e7STony Lindgren
21b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
22b63128e8STony Lindgrenobj-y					+= $(i2c-omap-m) $(i2c-omap-y)
23b63128e8STony Lindgren
24b288f75fSTony Lindgrenled-y := leds.o
25b288f75fSTony Lindgren
26dd0cdd88STony Lindgrenusb-fs-$(CONFIG_USB)			:= usb.o
27dd0cdd88STony Lindgrenobj-y					+= $(usb-fs-m) $(usb-fs-y)
28dd0cdd88STony Lindgren
29b288f75fSTony Lindgren# Specific board support
30138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
31b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
32b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
33b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
34495f71dbSBrian Swetlandobj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
35b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
36138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
37b288f75fSTony Lindgrenobj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
383179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
39ec70e8afSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
40dc563b4fSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
41120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
42120db2cbSTony Lindgrenobj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o
4311f9562aSJanusz Krzysztofikobj-$(CONFIG_AMS_DELTA_FIQ)		+= ams-delta-fiq.o ams-delta-fiq-handler.o
44087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
459c2816f7SCory Maccarroneobj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
46b288f75fSTony Lindgren
473179a019STony Lindgrenifeq ($(CONFIG_ARCH_OMAP15XX),y)
48b288f75fSTony Lindgren# Innovator-1510 FPGA
49b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
50b288f75fSTony Lindgrenendif
51b288f75fSTony Lindgren
52b288f75fSTony Lindgren# LEDs support
53b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
547c38cf02STony Lindgrenled-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
55b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_INNOVATOR)	+= leds-innovator.o
56b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_PERSEUS2)	+= leds-h2p2-debug.o
57b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_OSK)		+= leds-osk.o
58b288f75fSTony Lindgrenobj-$(CONFIG_LEDS)			+= $(led-y)
59f8e9e984SJanusz Krzysztofik
60f8e9e984SJanusz Krzysztofikifneq ($(CONFIG_FB_OMAP),)
61f8e9e984SJanusz Krzysztofikobj-y += lcd_dma.o
62f8e9e984SJanusz Krzysztofikendif
63