xref: /linux/arch/arm/mach-omap1/Makefile (revision 97933d6ced601de013f17ad3f589e72cf2266bba)
1b288f75fSTony Lindgren#
2b288f75fSTony Lindgren# Makefile for the linux kernel.
3b288f75fSTony Lindgren#
4b288f75fSTony Lindgren
5b288f75fSTony Lindgren# Common support
605b5ca9bSTony Lindgrenobj-y := io.o id.o sram.o time.o irq.o mux.o flash.o serial.o devices.o dma.o
7*97933d6cSTarun Kanti DebBarmaobj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
8120db2cbSTony Lindgren
944ec9a33SEduardo Valentinobj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
1044ec9a33SEduardo Valentin
11a57fb870SKevin Hilmanobj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
12120db2cbSTony Lindgren
13120db2cbSTony Lindgren# Power Management
14e9e35c5aSKevin Hilmanobj-$(CONFIG_PM) += pm.o sleep.o
15120db2cbSTony Lindgren
16ebe3b0e7STony Lindgren# DSP
17ebe3b0e7STony Lindgrenobj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
18ebe3b0e7STony Lindgrenmailbox_mach-objs		:= mailbox.o
19ebe3b0e7STony Lindgren
20b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
21b63128e8STony Lindgrenobj-y					+= $(i2c-omap-m) $(i2c-omap-y)
22b63128e8STony Lindgren
23b288f75fSTony Lindgrenled-y := leds.o
24b288f75fSTony Lindgren
25dd0cdd88STony Lindgrenusb-fs-$(CONFIG_USB)			:= usb.o
26dd0cdd88STony Lindgrenobj-y					+= $(usb-fs-m) $(usb-fs-y)
27dd0cdd88STony Lindgren
28b288f75fSTony Lindgren# Specific board support
29138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
30b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
31b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
32b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
33495f71dbSBrian Swetlandobj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
34b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
35138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
36b288f75fSTony Lindgrenobj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
373179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
38ec70e8afSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
39dc563b4fSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
40120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
419632f989SJanusz Krzysztofikobj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
429632f989SJanusz Krzysztofik					   ams-delta-fiq-handler.o
43087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
449c2816f7SCory Maccarroneobj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
45b288f75fSTony Lindgren
463179a019STony Lindgrenifeq ($(CONFIG_ARCH_OMAP15XX),y)
47b288f75fSTony Lindgren# Innovator-1510 FPGA
48b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
49b288f75fSTony Lindgrenendif
50b288f75fSTony Lindgren
5177640aabSVaradarajan, Charulatha# GPIO
5277640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
5377640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
5477640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
5577640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
5677640aabSVaradarajan, Charulatha
57b288f75fSTony Lindgren# LEDs support
58b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
597c38cf02STony Lindgrenled-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
60b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_INNOVATOR)	+= leds-innovator.o
61b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_PERSEUS2)	+= leds-h2p2-debug.o
62b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_OSK)		+= leds-osk.o
63b288f75fSTony Lindgrenobj-$(CONFIG_LEDS)			+= $(led-y)
64f8e9e984SJanusz Krzysztofik
65f8e9e984SJanusz Krzysztofikifneq ($(CONFIG_FB_OMAP),)
66f8e9e984SJanusz Krzysztofikobj-y += lcd_dma.o
67f8e9e984SJanusz Krzysztofikendif
68