2005-07-10 19:58:08 +01:00
#
# Makefile for the linux kernel.
#
# Common support
2010-02-15 10:03:32 -08:00
obj-y := io.o id.o sram.o irq.o mux.o flash.o serial.o devices.o
2009-12-08 16:29:38 -07:00
obj-y += clock.o clock_data.o opp_data.o
2006-04-02 17:46:27 +01:00
2008-07-03 12:24:40 +03:00
obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
2007-11-12 23:24:05 -08:00
obj-$(CONFIG_OMAP_MPU_TIMER) += time.o
obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
2006-04-02 17:46:27 +01:00
# Power Management
obj-$(CONFIG_PM) += pm.o sleep.o
2009-05-25 11:08:44 -07:00
# DSP
obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
mailbox_mach-objs := mailbox.o
2009-12-11 16:16:32 -08:00
i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
obj-y += $( i2c-omap-m) $( i2c-omap-y)
2005-07-10 19:58:08 +01:00
led-y := leds.o
2010-07-05 16:31:30 +03:00
usb-fs-$(CONFIG_USB) := usb.o
obj-y += $( usb-fs-m) $( usb-fs-y)
2005-07-10 19:58:08 +01:00
# Specific board support
2007-11-27 00:01:45 -04:00
obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o
2005-07-10 19:58:08 +01:00
obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o
2006-06-26 16:16:03 -07:00
obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o
2005-07-10 19:58:08 +01:00
obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
2007-11-27 00:01:45 -04:00
obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o
2005-07-10 19:58:08 +01:00
obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
2005-11-10 14:26:48 +00:00
obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
2006-12-06 17:13:57 -08:00
obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
2006-12-06 17:14:07 -08:00
obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
2006-04-02 17:46:27 +01:00
obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o
2010-04-28 01:03:59 +00:00
obj-$(CONFIG_AMS_DELTA_FIQ) += ams-delta-fiq.o ams-delta-fiq-handler.o
2007-11-30 01:52:53 -04:00
obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
2009-11-22 10:11:34 -08:00
obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
2005-07-10 19:58:08 +01:00
2005-11-10 14:26:48 +00:00
i f e q ( $( CONFIG_ARCH_OMAP 15XX ) , y )
2005-07-10 19:58:08 +01:00
# Innovator-1510 FPGA
obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
e n d i f
# LEDs support
led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
2005-09-08 23:07:38 +01:00
led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
2005-07-10 19:58:08 +01:00
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)
2009-12-11 16:16:33 -08:00
i f n e q ( $( CONFIG_FB_OMAP ) , )
obj-y += lcd_dma.o
e n d i f