Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | # Common support |
Ladislav Michl | 561b036 | 2010-02-15 10:03:32 -0800 | [diff] [blame] | 6 | obj-y := io.o id.o sram.o irq.o mux.o flash.o serial.o devices.o |
Paul Walmsley | 5265050 | 2009-12-08 16:29:38 -0700 | [diff] [blame] | 7 | obj-y += clock.o clock_data.o opp_data.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 8 | |
Eduardo Valentin | 44ec9a3 | 2008-07-03 12:24:40 +0300 | [diff] [blame] | 9 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o |
| 10 | |
Kevin Hilman | a57fb87 | 2007-11-12 23:24:05 -0800 | [diff] [blame] | 11 | obj-$(CONFIG_OMAP_MPU_TIMER) += time.o |
| 12 | obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 13 | |
| 14 | # Power Management |
Kevin Hilman | e933ec7 | 2010-06-17 15:48:43 -0700 | [diff] [blame^] | 15 | obj-$(CONFIG_PM) += pm.o sleep.o pm_bus.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 16 | |
Tony Lindgren | ebe3b0e | 2009-05-25 11:08:44 -0700 | [diff] [blame] | 17 | # DSP |
| 18 | obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o |
| 19 | mailbox_mach-objs := mailbox.o |
| 20 | |
Tony Lindgren | b63128e | 2009-12-11 16:16:32 -0800 | [diff] [blame] | 21 | i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o |
| 22 | obj-y += $(i2c-omap-m) $(i2c-omap-y) |
| 23 | |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 24 | led-y := leds.o |
| 25 | |
Tony Lindgren | dd0cdd8 | 2010-07-05 16:31:30 +0300 | [diff] [blame] | 26 | usb-fs-$(CONFIG_USB) := usb.o |
| 27 | obj-y += $(usb-fs-m) $(usb-fs-y) |
| 28 | |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 29 | # Specific board support |
Felipe Balbi | 138ab9f | 2007-11-27 00:01:45 -0400 | [diff] [blame] | 30 | obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 31 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o |
| 32 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o |
| 33 | obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o |
Brian Swetland | 495f71d | 2006-06-26 16:16:03 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 35 | obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o |
Felipe Balbi | 138ab9f | 2007-11-27 00:01:45 -0400 | [diff] [blame] | 36 | obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 37 | obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o |
Tony Lindgren | 3179a01 | 2005-11-10 14:26:48 +0000 | [diff] [blame] | 38 | obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o |
Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 39 | obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o |
Marek Vasut | dc563b4 | 2006-12-06 17:14:07 -0800 | [diff] [blame] | 40 | obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 41 | obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o |
| 42 | obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o |
Janusz Krzysztofik | 11f9562 | 2010-04-28 01:03:59 +0000 | [diff] [blame] | 43 | obj-$(CONFIG_AMS_DELTA_FIQ) += ams-delta-fiq.o ams-delta-fiq-handler.o |
Carlos Eduardo Aguiar | 087c503 | 2007-11-30 01:52:53 -0400 | [diff] [blame] | 44 | obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o |
Cory Maccarrone | 9c2816f | 2009-11-22 10:11:34 -0800 | [diff] [blame] | 45 | obj-$(CONFIG_MACH_HERALD) += board-htcherald.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 46 | |
Tony Lindgren | 3179a01 | 2005-11-10 14:26:48 +0000 | [diff] [blame] | 47 | ifeq ($(CONFIG_ARCH_OMAP15XX),y) |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 48 | # Innovator-1510 FPGA |
| 49 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o |
| 50 | endif |
| 51 | |
| 52 | # LEDs support |
| 53 | led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o |
Tony Lindgren | 7c38cf0 | 2005-09-08 23:07:38 +0100 | [diff] [blame] | 54 | led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 55 | led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o |
| 56 | led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o |
| 57 | led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o |
| 58 | obj-$(CONFIG_LEDS) += $(led-y) |
Janusz Krzysztofik | f8e9e98 | 2009-12-11 16:16:33 -0800 | [diff] [blame] | 59 | |
| 60 | ifneq ($(CONFIG_FB_OMAP),) |
| 61 | obj-y += lcd_dma.o |
| 62 | endif |