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

# Common support
6 7 8 9 10 11 12
obj-y := io.o id.o clock.o irq.o mux.o serial.o devices.o

obj-$(CONFIG_OMAP_MPU_TIMER)		+= time.o

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

13 14 15 16 17 18 19
led-y := leds.o

# Specific board support
obj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o
obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
obj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
obj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o
20
obj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o
21 22 23
obj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
obj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o
obj-$(CONFIG_MACH_VOICEBLUE)		+= board-voiceblue.o
24
obj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
25 26
obj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
obj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o
27

28
ifeq ($(CONFIG_ARCH_OMAP15XX),y)
29 30 31 32 33 34
# Innovator-1510 FPGA
obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
endif

# LEDs support
led-$(CONFIG_MACH_OMAP_H2)		+= leds-h2p2-debug.o
35
led-$(CONFIG_MACH_OMAP_H3)		+= leds-h2p2-debug.o
36 37 38 39
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)