xref: /linux/arch/arm/mach-omap1/Makefile (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6ifdef CONFIG_ARCH_OMAP1_ANY
7
8# Common support
9obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
10	 serial.o devices.o dma.o omap-dma.o fb.o
11obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
12
13ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),)
14obj-y += mcbsp.o
15endif
16
17obj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
18
19# OCPI interconnect support for 1710, 1610 and 5912
20obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
21
22# Power Management
23obj-$(CONFIG_PM) += pm.o sleep.o
24
25i2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
26obj-y					+= $(i2c-omap-m) $(i2c-omap-y)
27
28led-y := leds.o
29
30usb-fs-$(CONFIG_USB_SUPPORT)		:= usb.o
31obj-y					+= $(usb-fs-m) $(usb-fs-y)
32
33# Specific board support
34obj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o \
35					   board-nand.o
36obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
37obj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
38obj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o board-nand.o
39obj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o board-nand.o
40obj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
41obj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o \
42					   board-nand.o
43obj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
44obj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
45obj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
46obj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
47obj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
48					   ams-delta-fiq-handler.o
49obj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
50obj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
51
52ifeq ($(CONFIG_ARCH_OMAP15XX),y)
53# Innovator-1510 FPGA
54obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
55endif
56
57# GPIO
58obj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
59obj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
60obj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
61obj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
62
63endif
64