xref: /linux/arch/arm/mach-omap1/Makefile (revision 16d60bb86e45aa7513007b4788f16fa2b968f9dd)
1b288f75fSTony Lindgren#
2b288f75fSTony Lindgren# Makefile for the linux kernel.
3b288f75fSTony Lindgren#
4b288f75fSTony Lindgren
5b288f75fSTony Lindgren# Common support
6f205cfafSTony Lindgrenobj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
7*16d60bb8STony Lindgren	 serial.o devices.o dma.o fb.o
897933d6cSTarun Kanti DebBarmaobj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
9120db2cbSTony Lindgren
103ead4679SPeter Ujfalusiifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
113ead4679SPeter Ujfalusiobj-y += mcbsp.o
123ead4679SPeter Ujfalusiendif
1344ec9a33SEduardo Valentin
14a57fb870SKevin Hilmanobj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
15120db2cbSTony Lindgren
166f3c1af2SPaul Walmsley# OCPI interconnect support for 1710, 1610 and 5912
176f3c1af2SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
186f3c1af2SPaul Walmsley
19120db2cbSTony Lindgren# Power Management
20e9e35c5aSKevin Hilmanobj-$(CONFIG_PM) += pm.o sleep.o
21120db2cbSTony Lindgren
22ebe3b0e7STony Lindgren# DSP
23ebe3b0e7STony Lindgrenobj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
24ebe3b0e7STony Lindgrenmailbox_mach-objs		:= mailbox.o
25ebe3b0e7STony Lindgren
26b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
27b63128e8STony Lindgrenobj-y					+= $(i2c-omap-m) $(i2c-omap-y)
28b63128e8STony Lindgren
29b288f75fSTony Lindgrenled-y := leds.o
30b288f75fSTony Lindgren
31dd0cdd88STony Lindgrenusb-fs-$(CONFIG_USB)			:= usb.o
32dd0cdd88STony Lindgrenobj-y					+= $(usb-fs-m) $(usb-fs-y)
33dd0cdd88STony Lindgren
34b288f75fSTony Lindgren# Specific board support
3531cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o \
3631cde044SPaul Walmsley					   board-nand.o
37b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
38b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
3931cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o board-nand.o
4031cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o board-nand.o
41b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
4231cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o \
4331cde044SPaul Walmsley					   board-nand.o
44b288f75fSTony Lindgrenobj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
453179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
46ec70e8afSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
47dc563b4fSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
48120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
499632f989SJanusz Krzysztofikobj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
509632f989SJanusz Krzysztofik					   ams-delta-fiq-handler.o
51087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
529c2816f7SCory Maccarroneobj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
53b288f75fSTony Lindgren
543179a019STony Lindgrenifeq ($(CONFIG_ARCH_OMAP15XX),y)
55b288f75fSTony Lindgren# Innovator-1510 FPGA
56b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
57b288f75fSTony Lindgrenendif
58b288f75fSTony Lindgren
5977640aabSVaradarajan, Charulatha# GPIO
6077640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
6177640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
6277640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
6377640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
6477640aabSVaradarajan, Charulatha
65f8e9e984SJanusz Krzysztofikifneq ($(CONFIG_FB_OMAP),)
66f8e9e984SJanusz Krzysztofikobj-y += lcd_dma.o
67f8e9e984SJanusz Krzysztofikendif
68