xref: /linux/arch/arm/mach-omap1/Makefile (revision 6f3c1af26543e11fe7549be162698111ed773cb7)
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
93ead4679SPeter Ujfalusiifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
103ead4679SPeter Ujfalusiobj-y += mcbsp.o
113ead4679SPeter Ujfalusiendif
1244ec9a33SEduardo Valentin
13a57fb870SKevin Hilmanobj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
14120db2cbSTony Lindgren
15*6f3c1af2SPaul Walmsley# OCPI interconnect support for 1710, 1610 and 5912
16*6f3c1af2SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
17*6f3c1af2SPaul Walmsley
18120db2cbSTony Lindgren# Power Management
19e9e35c5aSKevin Hilmanobj-$(CONFIG_PM) += pm.o sleep.o
20120db2cbSTony Lindgren
21ebe3b0e7STony Lindgren# DSP
22ebe3b0e7STony Lindgrenobj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
23ebe3b0e7STony Lindgrenmailbox_mach-objs		:= mailbox.o
24ebe3b0e7STony Lindgren
25b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
26b63128e8STony Lindgrenobj-y					+= $(i2c-omap-m) $(i2c-omap-y)
27b63128e8STony Lindgren
28b288f75fSTony Lindgrenled-y := leds.o
29b288f75fSTony Lindgren
30dd0cdd88STony Lindgrenusb-fs-$(CONFIG_USB)			:= usb.o
31dd0cdd88STony Lindgrenobj-y					+= $(usb-fs-m) $(usb-fs-y)
32dd0cdd88STony Lindgren
33b288f75fSTony Lindgren# Specific board support
34138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
35b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
36b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
37b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
38495f71dbSBrian Swetlandobj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
39b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
40138ab9f8SFelipe Balbiobj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
41b288f75fSTony Lindgrenobj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
423179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
43ec70e8afSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
44dc563b4fSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
45120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
469632f989SJanusz Krzysztofikobj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
479632f989SJanusz Krzysztofik					   ams-delta-fiq-handler.o
48087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
499c2816f7SCory Maccarroneobj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
50b288f75fSTony Lindgren
513179a019STony Lindgrenifeq ($(CONFIG_ARCH_OMAP15XX),y)
52b288f75fSTony Lindgren# Innovator-1510 FPGA
53b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
54b288f75fSTony Lindgrenendif
55b288f75fSTony Lindgren
5677640aabSVaradarajan, Charulatha# GPIO
5777640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
5877640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
5977640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
6077640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
6177640aabSVaradarajan, Charulatha
62b288f75fSTony Lindgren# LEDs support
63b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
647c38cf02STony Lindgrenled-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
65b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_INNOVATOR)	+= leds-innovator.o
66b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_PERSEUS2)	+= leds-h2p2-debug.o
67b288f75fSTony Lindgrenled-$(CONFIG_MACH_OMAP_OSK)		+= leds-osk.o
68b288f75fSTony Lindgrenobj-$(CONFIG_LEDS)			+= $(led-y)
69f8e9e984SJanusz Krzysztofik
70f8e9e984SJanusz Krzysztofikifneq ($(CONFIG_FB_OMAP),)
71f8e9e984SJanusz Krzysztofikobj-y += lcd_dma.o
72f8e9e984SJanusz Krzysztofikendif
73