2005-07-10 19:58:08 +01:00
#
# Makefile for the linux kernel.
#
# Common support
2012-10-29 14:46:30 -07:00
obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
2012-12-16 11:39:40 -08:00
serial.o devices.o dma.o fb.o
2011-09-20 17:00:17 +05:30
obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
2006-04-02 17:46:27 +01:00
2012-03-09 10:23:27 +02:00
i f n e q ( $( CONFIG_SND_OMAP_SOC_MCBSP ) , )
obj-y += mcbsp.o
e n d i f
2008-07-03 12:24:40 +03:00
2007-11-12 23:24:05 -08:00
obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
2006-04-02 17:46:27 +01:00
2012-04-13 06:34:27 -06:00
# OCPI interconnect support for 1710, 1610 and 5912
obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
2006-04-02 17:46:27 +01:00
# Power Management
2011-06-14 05:53:18 -07:00
obj-$(CONFIG_PM) += pm.o sleep.o
2006-04-02 17:46:27 +01:00
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
2012-04-13 06:34:31 -06:00
obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
board-nand.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
2012-04-13 06:34:31 -06:00
obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o
obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o board-nand.o
2005-07-10 19:58:08 +01:00
obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
2012-04-13 06:34:31 -06:00
obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \
board-nand.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
2010-11-16 14:26:57 -08:00
obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o 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
2010-12-07 16:26:57 -08:00
# 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
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