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