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