Makefile 2.0 KB
Newer Older
1 2 3 4 5
#
# Makefile for the linux kernel.
#

# Common support
6
obj-y := io.o id.o sram.o irq.o mux.o flash.o serial.o devices.o dma.o
7
obj-y += clock.o clock_data.o opp_data.o
8

9 10
obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o

11 12
obj-$(CONFIG_OMAP_MPU_TIMER)	+= time.o
obj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o
13 14

# Power Management
15
obj-$(CONFIG_PM) += pm.o sleep.o pm_bus.o
16

T
Tony Lindgren 已提交
17 18 19 20
# DSP
obj-$(CONFIG_OMAP_MBOX_FWK)	+= mailbox_mach.o
mailbox_mach-objs		:= mailbox.o

21 22 23
i2c-omap-$(CONFIG_I2C_OMAP)		:= i2c.o
obj-y					+= $(i2c-omap-m) $(i2c-omap-y)

24 25
led-y := leds.o

26 27 28
usb-fs-$(CONFIG_USB)			:= usb.o
obj-y					+= $(usb-fs-m) $(usb-fs-y)

29
# Specific board support
30
obj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o
31 32 33
obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
obj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
obj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
34
obj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
35
obj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
36
obj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o
37
obj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
38
obj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
M
Marek Vasut 已提交
39
obj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
M
Marek Vasut 已提交
40
obj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
41
obj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
42 43
obj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
					   ams-delta-fiq-handler.o
44
obj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
45
obj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
46

47
ifeq ($(CONFIG_ARCH_OMAP15XX),y)
48 49 50 51
# Innovator-1510 FPGA
obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
endif

52 53 54 55 56 57
# GPIO
obj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
obj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
obj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
obj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o

58 59
# LEDs support
led-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
60
led-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
61 62 63 64
led-$(CONFIG_MACH_OMAP_INNOVATOR)	+= leds-innovator.o
led-$(CONFIG_MACH_OMAP_PERSEUS2)	+= leds-h2p2-debug.o
led-$(CONFIG_MACH_OMAP_OSK)		+= leds-osk.o
obj-$(CONFIG_LEDS)			+= $(led-y)
65 66 67 68

ifneq ($(CONFIG_FB_OMAP),)
obj-y += lcd_dma.o
endif