Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | # Common support |
Paul Walmsley | 5265050 | 2009-12-08 16:29:38 -0700 | [diff] [blame] | 6 | obj-y := io.o id.o sram.o irq.o mux.o serial.o devices.o |
| 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 |
| 15 | obj-$(CONFIG_PM) += pm.o sleep.o |
| 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 | |
| 26 | # Specific board support |
Felipe Balbi | 138ab9f | 2007-11-27 00:01:45 -0400 | [diff] [blame] | 27 | obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o |
| 29 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o |
| 30 | obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o |
Brian Swetland | 495f71d | 2006-06-26 16:16:03 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o |
Felipe Balbi | 138ab9f | 2007-11-27 00:01:45 -0400 | [diff] [blame] | 33 | obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o |
Tony Lindgren | 3179a01 | 2005-11-10 14:26:48 +0000 | [diff] [blame] | 35 | obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o |
Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 36 | obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o |
Marek Vasut | dc563b4 | 2006-12-06 17:14:07 -0800 | [diff] [blame] | 37 | obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 38 | obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o |
| 39 | obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o |
Carlos Eduardo Aguiar | 087c503 | 2007-11-30 01:52:53 -0400 | [diff] [blame] | 40 | obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o |
Cory Maccarrone | 9c2816f | 2009-11-22 10:11:34 -0800 | [diff] [blame] | 41 | obj-$(CONFIG_MACH_HERALD) += board-htcherald.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 42 | |
Tony Lindgren | 3179a01 | 2005-11-10 14:26:48 +0000 | [diff] [blame] | 43 | ifeq ($(CONFIG_ARCH_OMAP15XX),y) |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 44 | # Innovator-1510 FPGA |
| 45 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o |
| 46 | endif |
| 47 | |
| 48 | # LEDs support |
| 49 | led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o |
Tony Lindgren | 7c38cf0 | 2005-09-08 23:07:38 +0100 | [diff] [blame] | 50 | led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 51 | led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o |
| 52 | led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o |
| 53 | led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o |
| 54 | obj-$(CONFIG_LEDS) += $(led-y) |
Janusz Krzysztofik | f8e9e98 | 2009-12-11 16:16:33 -0800 | [diff] [blame^] | 55 | |
| 56 | ifneq ($(CONFIG_FB_OMAP),) |
| 57 | obj-y += lcd_dma.o |
| 58 | endif |