xref: /linux/arch/arm/mach-omap1/Makefile (revision 3ead4679e579560f4b5370e4a2f4c00ae4f1988b)
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
797933d6cSTarun Kanti DebBarmaobj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
8120db2cbSTony Lindgren
9*3ead4679SPeter Ujfalusiifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
10*3ead4679SPeter Ujfalusiobj-y += mcbsp.o
11*3ead4679SPeter Ujfalusiendif
1244ec9a33SEduardo Valentin
13a57fb870SKevin Hilmanobj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
14120db2cbSTony Lindgren
15120db2cbSTony Lindgren# Power Management
16e9e35c5aSKevin Hilmanobj-$(CONFIG_PM) += pm.o sleep.o
17120db2cbSTony Lindgren
18ebe3b0e7STony Lindgren# DSP
19ebe3b0e7STony Lindgrenobj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
20ebe3b0e7STony Lindgrenmailbox_mach-objs		:= mailbox.o
21ebe3b0e7STony Lindgren
22b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
23b63128e8STony Lindgrenobj-y					+= $(i2c-omap-m) $(i2c-omap-y)
24b63128e8STony Lindgren
25b288f75fSTony Lindgrenled-y := leds.o
26b288f75fSTony Lindgren
27dd0cdd88STony Lindgrenusb-fs-$(CONFIG_USB)			:= usb.o
28dd0cdd88STony Lindgrenobj-y					+= $(usb-fs-m) $(usb-fs-y)
29dd0cdd88STony Lindgren
30b288f75fSTony Lindgren# Specific board support
31138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
32b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
33b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
34b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
35495f71dbSBrian Swetlandobj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
36b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
37138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
38b288f75fSTony Lindgrenobj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
393179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
40ec70e8afSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
41dc563b4fSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
42120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
439632f989SJanusz Krzysztofikobj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
449632f989SJanusz Krzysztofik					   ams-delta-fiq-handler.o
45087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
469c2816f7SCory Maccarroneobj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
47b288f75fSTony Lindgren
483179a019STony Lindgrenifeq ($(CONFIG_ARCH_OMAP15XX),y)
49b288f75fSTony Lindgren# Innovator-1510 FPGA
50b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
51b288f75fSTony Lindgrenendif
52b288f75fSTony Lindgren
5377640aabSVaradarajan, Charulatha# GPIO
5477640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
5577640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
5677640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
5777640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
5877640aabSVaradarajan, Charulatha
59b288f75fSTony Lindgren# LEDs support
60b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
617c38cf02STony Lindgrenled-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
62b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_INNOVATOR)	+= leds-innovator.o
63b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_PERSEUS2)	+= leds-h2p2-debug.o
64b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_OSK)		+= leds-osk.o
65b288f75fSTony Lindgrenobj-$(CONFIG_LEDS)			+= $(led-y)
66f8e9e984SJanusz Krzysztofik
67f8e9e984SJanusz Krzysztofikifneq ($(CONFIG_FB_OMAP),)
68f8e9e984SJanusz Krzysztofikobj-y += lcd_dma.o
69f8e9e984SJanusz Krzysztofikendif
70