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 |
Tarun Kanti DebBarma | 97933d6 | 2011-09-20 17:00:17 +0530 | [diff] [blame] | 7 | obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 8 | |
Peter Ujfalusi | 3ead467 | 2012-03-09 10:23:27 +0200 | [diff] [blame] | 9 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
| 10 | obj-y += mcbsp.o |
| 11 | endif |
Eduardo Valentin | 44ec9a3 | 2008-07-03 12:24:40 +0300 | [diff] [blame] | 12 | |
Kevin Hilman | a57fb87 | 2007-11-12 23:24:05 -0800 | [diff] [blame] | 13 | obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 14 | |
Paul Walmsley | 6f3c1af | 2012-04-13 06:34:27 -0600 | [diff] [blame] | 15 | # OCPI interconnect support for 1710, 1610 and 5912 |
| 16 | obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o |
| 17 | |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 18 | # Power Management |
Kevin Hilman | e9e35c5 | 2011-06-14 05:53:18 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_PM) += pm.o sleep.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 20 | |
Tony Lindgren | ebe3b0e | 2009-05-25 11:08:44 -0700 | [diff] [blame] | 21 | # DSP |
| 22 | obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o |
| 23 | mailbox_mach-objs := mailbox.o |
| 24 | |
Tony Lindgren | b63128e | 2009-12-11 16:16:32 -0800 | [diff] [blame] | 25 | i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o |
| 26 | obj-y += $(i2c-omap-m) $(i2c-omap-y) |
| 27 | |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 28 | led-y := leds.o |
| 29 | |
Tony Lindgren | dd0cdd8 | 2010-07-05 16:31:30 +0300 | [diff] [blame] | 30 | usb-fs-$(CONFIG_USB) := usb.o |
| 31 | obj-y += $(usb-fs-m) $(usb-fs-y) |
| 32 | |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 33 | # Specific board support |
Paul Walmsley | 31cde04 | 2012-04-13 06:34:31 -0600 | [diff] [blame] | 34 | obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \ |
| 35 | board-nand.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 36 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o |
| 37 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o |
Paul Walmsley | 31cde04 | 2012-04-13 06:34:31 -0600 | [diff] [blame] | 38 | obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o |
| 39 | obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o board-nand.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 40 | obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o |
Paul Walmsley | 31cde04 | 2012-04-13 06:34:31 -0600 | [diff] [blame] | 41 | obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \ |
| 42 | board-nand.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o |
Tony Lindgren | 3179a01 | 2005-11-10 14:26:48 +0000 | [diff] [blame] | 44 | obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o |
Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 45 | obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o |
Marek Vasut | dc563b4 | 2006-12-06 17:14:07 -0800 | [diff] [blame] | 46 | obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 47 | obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o |
Janusz Krzysztofik | 9632f98 | 2010-11-16 14:26:57 -0800 | [diff] [blame] | 48 | obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \ |
| 49 | ams-delta-fiq-handler.o |
Carlos Eduardo Aguiar | 087c503 | 2007-11-30 01:52:53 -0400 | [diff] [blame] | 50 | obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o |
Cory Maccarrone | 9c2816f | 2009-11-22 10:11:34 -0800 | [diff] [blame] | 51 | obj-$(CONFIG_MACH_HERALD) += board-htcherald.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 52 | |
Tony Lindgren | 3179a01 | 2005-11-10 14:26:48 +0000 | [diff] [blame] | 53 | ifeq ($(CONFIG_ARCH_OMAP15XX),y) |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 54 | # Innovator-1510 FPGA |
| 55 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o |
| 56 | endif |
| 57 | |
Varadarajan, Charulatha | 77640aa | 2010-12-07 16:26:57 -0800 | [diff] [blame] | 58 | # GPIO |
| 59 | obj-$(CONFIG_ARCH_OMAP730) += gpio7xx.o |
| 60 | obj-$(CONFIG_ARCH_OMAP850) += gpio7xx.o |
| 61 | obj-$(CONFIG_ARCH_OMAP15XX) += gpio15xx.o |
| 62 | obj-$(CONFIG_ARCH_OMAP16XX) += gpio16xx.o |
| 63 | |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 64 | # LEDs support |
| 65 | led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o |
Tony Lindgren | 7c38cf0 | 2005-09-08 23:07:38 +0100 | [diff] [blame] | 66 | led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o |
Tony Lindgren | b288f75 | 2005-07-10 19:58:08 +0100 | [diff] [blame] | 67 | led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o |
| 68 | led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o |
| 69 | led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o |
| 70 | obj-$(CONFIG_LEDS) += $(led-y) |
Janusz Krzysztofik | f8e9e98 | 2009-12-11 16:16:33 -0800 | [diff] [blame] | 71 | |
| 72 | ifneq ($(CONFIG_FB_OMAP),) |
| 73 | obj-y += lcd_dma.o |
| 74 | endif |