| # |
| # Makefile for the linux kernel. |
| # |
| |
| # Common support |
| obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \ |
| serial.o devices.o dma.o |
| obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o |
| |
| ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
| obj-y += mcbsp.o |
| endif |
| |
| obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o |
| |
| # OCPI interconnect support for 1710, 1610 and 5912 |
| obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o |
| |
| # Power Management |
| obj-$(CONFIG_PM) += pm.o sleep.o |
| |
| # DSP |
| obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o |
| mailbox_mach-objs := mailbox.o |
| |
| i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o |
| obj-y += $(i2c-omap-m) $(i2c-omap-y) |
| |
| led-y := leds.o |
| |
| usb-fs-$(CONFIG_USB) := usb.o |
| obj-y += $(usb-fs-m) $(usb-fs-y) |
| |
| # Specific board support |
| obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \ |
| board-nand.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 board-nand.o |
| obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o board-nand.o |
| obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o |
| obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \ |
| board-nand.o |
| obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o |
| obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o |
| obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o |
| obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o |
| obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o |
| obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \ |
| ams-delta-fiq-handler.o |
| obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o |
| obj-$(CONFIG_MACH_HERALD) += board-htcherald.o |
| |
| ifeq ($(CONFIG_ARCH_OMAP15XX),y) |
| # Innovator-1510 FPGA |
| obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o |
| endif |
| |
| # 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 |
| |
| ifneq ($(CONFIG_FB_OMAP),) |
| obj-y += lcd_dma.o |
| endif |