1# 2# Makefile for the linux kernel. 3# 4 5# Common support 6obj-y := io.o id.o sram.o time.o irq.o mux.o flash.o serial.o devices.o dma.o 7obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o 8 9ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) 10obj-y += mcbsp.o 11endif 12 13obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o 14 15# OCPI interconnect support for 1710, 1610 and 5912 16obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o 17 18# Power Management 19obj-$(CONFIG_PM) += pm.o sleep.o 20 21# DSP 22obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o 23mailbox_mach-objs := mailbox.o 24 25i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o 26obj-y += $(i2c-omap-m) $(i2c-omap-y) 27 28led-y := leds.o 29 30usb-fs-$(CONFIG_USB) := usb.o 31obj-y += $(usb-fs-m) $(usb-fs-y) 32 33# Specific board support 34obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o 35obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o 36obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o 37obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o 38obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o 39obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o 40obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o 41obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o 42obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o 43obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o 44obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o 45obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o 46obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \ 47 ams-delta-fiq-handler.o 48obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o 49obj-$(CONFIG_MACH_HERALD) += board-htcherald.o 50 51ifeq ($(CONFIG_ARCH_OMAP15XX),y) 52# Innovator-1510 FPGA 53obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o 54endif 55 56# GPIO 57obj-$(CONFIG_ARCH_OMAP730) += gpio7xx.o 58obj-$(CONFIG_ARCH_OMAP850) += gpio7xx.o 59obj-$(CONFIG_ARCH_OMAP15XX) += gpio15xx.o 60obj-$(CONFIG_ARCH_OMAP16XX) += gpio16xx.o 61 62# LEDs support 63led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o 64led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o 65led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o 66led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o 67led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o 68obj-$(CONFIG_LEDS) += $(led-y) 69 70ifneq ($(CONFIG_FB_OMAP),) 71obj-y += lcd_dma.o 72endif 73