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