2005-07-11 01:58:08 +07:00
|
|
|
#
|
|
|
|
# Makefile for the linux kernel.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Common support
|
2011-01-19 03:42:23 +07:00
|
|
|
obj-y := io.o id.o sram.o time.o irq.o mux.o flash.o serial.o devices.o dma.o
|
2011-09-20 18:30:17 +07:00
|
|
|
obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
|
2006-04-02 23:46:27 +07:00
|
|
|
|
2012-03-09 15:23:27 +07:00
|
|
|
ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
|
|
|
|
obj-y += mcbsp.o
|
|
|
|
endif
|
2008-07-03 16:24:40 +07:00
|
|
|
|
2007-11-13 14:24:05 +07:00
|
|
|
obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
|
2006-04-02 23:46:27 +07:00
|
|
|
|
2012-04-13 19:34:27 +07:00
|
|
|
# OCPI interconnect support for 1710, 1610 and 5912
|
|
|
|
obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
|
|
|
|
|
2006-04-02 23:46:27 +07:00
|
|
|
# Power Management
|
2011-06-14 19:53:18 +07:00
|
|
|
obj-$(CONFIG_PM) += pm.o sleep.o
|
2006-04-02 23:46:27 +07:00
|
|
|
|
2009-05-26 01:08:44 +07:00
|
|
|
# DSP
|
|
|
|
obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
|
|
|
|
mailbox_mach-objs := mailbox.o
|
|
|
|
|
2009-12-12 07:16:32 +07:00
|
|
|
i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
|
|
|
|
obj-y += $(i2c-omap-m) $(i2c-omap-y)
|
|
|
|
|
2005-07-11 01:58:08 +07:00
|
|
|
led-y := leds.o
|
|
|
|
|
2010-07-05 20:31:30 +07:00
|
|
|
usb-fs-$(CONFIG_USB) := usb.o
|
|
|
|
obj-y += $(usb-fs-m) $(usb-fs-y)
|
|
|
|
|
2005-07-11 01:58:08 +07:00
|
|
|
# Specific board support
|
2012-04-13 19:34:31 +07:00
|
|
|
obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
|
|
|
|
board-nand.o
|
2005-07-11 01:58:08 +07:00
|
|
|
obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
|
|
|
|
obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
|
2012-04-13 19:34:31 +07: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-11 01:58:08 +07:00
|
|
|
obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
|
2012-04-13 19:34:31 +07:00
|
|
|
obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \
|
|
|
|
board-nand.o
|
2005-07-11 01:58:08 +07:00
|
|
|
obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
|
2005-11-10 21:26:48 +07:00
|
|
|
obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
|
2006-12-07 08:13:57 +07:00
|
|
|
obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
|
2006-12-07 08:14:07 +07:00
|
|
|
obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
|
2006-04-02 23:46:27 +07:00
|
|
|
obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
|
2010-11-17 05:26:57 +07:00
|
|
|
obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
|
|
|
|
ams-delta-fiq-handler.o
|
2007-11-30 12:52:53 +07:00
|
|
|
obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
|
2009-11-23 01:11:34 +07:00
|
|
|
obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
|
2005-07-11 01:58:08 +07:00
|
|
|
|
2005-11-10 21:26:48 +07:00
|
|
|
ifeq ($(CONFIG_ARCH_OMAP15XX),y)
|
2005-07-11 01:58:08 +07:00
|
|
|
# Innovator-1510 FPGA
|
|
|
|
obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
|
|
|
|
endif
|
|
|
|
|
2010-12-08 07:26:57 +07: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
|
|
|
|
|
2005-07-11 01:58:08 +07:00
|
|
|
# LEDs support
|
|
|
|
led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
|
2005-09-09 05:07:38 +07:00
|
|
|
led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
|
2005-07-11 01:58:08 +07: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-12 07:16:33 +07:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_FB_OMAP),)
|
|
|
|
obj-y += lcd_dma.o
|
|
|
|
endif
|