xref: /linux/arch/arm/mach-omap1/Makefile (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2b288f75fSTony Lindgren#
3b288f75fSTony Lindgren# Makefile for the linux kernel.
4b288f75fSTony Lindgren#
5b288f75fSTony Lindgren
6b288f75fSTony Lindgren# Common support
7f205cfafSTony Lindgrenobj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
8*16630718SArnd Bergmann	 serial.o devices.o dma.o omap-dma.o fb.o
997933d6cSTarun Kanti DebBarmaobj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
10120db2cbSTony Lindgren
11c27ace2eSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),)
123ead4679SPeter Ujfalusiobj-y += mcbsp.o
133ead4679SPeter Ujfalusiendif
1444ec9a33SEduardo Valentin
15a57fb870SKevin Hilmanobj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
16120db2cbSTony Lindgren
176f3c1af2SPaul Walmsley# OCPI interconnect support for 1710, 1610 and 5912
186f3c1af2SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
196f3c1af2SPaul Walmsley
20120db2cbSTony Lindgren# Power Management
21e9e35c5aSKevin Hilmanobj-$(CONFIG_PM) += pm.o sleep.o
22120db2cbSTony Lindgren
23b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
24b63128e8STony Lindgrenobj-y					+= $(i2c-omap-m) $(i2c-omap-y)
25b63128e8STony Lindgren
26b288f75fSTony Lindgrenled-y := leds.o
27b288f75fSTony Lindgren
28c7b7b5cbSAaro Koskinenusb-fs-$(CONFIG_USB_SUPPORT)		:= usb.o
29dd0cdd88STony Lindgrenobj-y					+= $(usb-fs-m) $(usb-fs-y)
30dd0cdd88STony Lindgren
31b288f75fSTony Lindgren# Specific board support
32b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
333179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
34120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
359632f989SJanusz Krzysztofikobj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
369632f989SJanusz Krzysztofik					   ams-delta-fiq-handler.o
37087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
38b288f75fSTony Lindgren
3977640aabSVaradarajan, Charulatha# GPIO
4077640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
4177640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
42