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