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