SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
Jean-Christophe PLAGNIOL-VILLARD | 21d08b9 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 5 | obj-y := irq.o gpio.o setup.o |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 6 | obj-m := |
| 7 | obj-n := |
| 8 | obj- := |
| 9 | |
Greg Ungerer | ea00e30 | 2007-07-30 02:39:15 +0100 | [diff] [blame] | 10 | obj-$(CONFIG_AT91_PMC_UNIT) += clock.o |
Jean-Christophe PLAGNIOL-VILLARD | c017759 | 2011-11-29 22:01:08 +0800 | [diff] [blame] | 11 | obj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.o |
Jean-Christophe PLAGNIOL-VILLARD | 14f991a | 2011-11-18 01:41:28 +0800 | [diff] [blame] | 12 | obj-$(CONFIG_AT91_SAM9G45_RESET) += at91sam9g45_reset.o |
Ludovic Desroches | fc05b65 | 2013-03-22 13:24:10 +0000 | [diff] [blame] | 13 | obj-$(CONFIG_AT91_SAM9_TIME) += at91sam926x_time.o |
| 14 | obj-$(CONFIG_SOC_AT91SAM9) += sam9_smc.o |
Andrew Victor | 5c3fddc | 2006-06-20 19:30:20 +0100 | [diff] [blame] | 15 | |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 16 | # CPU-specific support |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 17 | obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o at91rm9200_time.o |
| 18 | obj-$(CONFIG_SOC_AT91SAM9260) += at91sam9260.o |
| 19 | obj-$(CONFIG_SOC_AT91SAM9261) += at91sam9261.o |
| 20 | obj-$(CONFIG_SOC_AT91SAM9263) += at91sam9263.o |
| 21 | obj-$(CONFIG_SOC_AT91SAM9G45) += at91sam9g45.o |
Hong Xu | 74db4fb | 2012-04-17 14:26:31 +0800 | [diff] [blame] | 22 | obj-$(CONFIG_SOC_AT91SAM9N12) += at91sam9n12.o |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 23 | obj-$(CONFIG_SOC_AT91SAM9X5) += at91sam9x5.o |
| 24 | obj-$(CONFIG_SOC_AT91SAM9RL) += at91sam9rl.o |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame^] | 25 | obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 26 | |
| 27 | obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200_devices.o |
| 28 | obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260_devices.o |
| 29 | obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261_devices.o |
| 30 | obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261_devices.o |
| 31 | obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263_devices.o |
| 32 | obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl_devices.o |
| 33 | obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260_devices.o |
| 34 | obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45_devices.o |
Greg Ungerer | ea00e30 | 2007-07-30 02:39:15 +0100 | [diff] [blame] | 35 | obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 36 | |
Andrew Victor | 62c1660 | 2006-11-30 12:27:38 +0100 | [diff] [blame] | 37 | # AT91RM9200 board-specific support |
Lennert Buytenhek | b184a4c | 2006-06-26 17:48:29 +0100 | [diff] [blame] | 38 | obj-$(CONFIG_MACH_ONEARM) += board-1arm.o |
Jean-Christophe PLAGNIOL-VILLARD | 985f554 | 2010-11-19 22:34:38 +0800 | [diff] [blame] | 39 | obj-$(CONFIG_ARCH_AT91RM9200DK) += board-rm9200dk.o |
| 40 | obj-$(CONFIG_MACH_AT91RM9200EK) += board-rm9200ek.o |
Andrew Victor | 49978db | 2006-01-10 16:59:29 +0000 | [diff] [blame] | 41 | obj-$(CONFIG_MACH_CSB337) += board-csb337.o |
| 42 | obj-$(CONFIG_MACH_CSB637) += board-csb637.o |
Andrew Victor | 6902f52 | 2006-06-20 19:30:18 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o |
| 44 | obj-$(CONFIG_MACH_KB9200) += board-kb9202.o |
| 45 | obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o |
| 46 | obj-$(CONFIG_MACH_KAFA) += board-kafa.o |
Simon Richter | 5d01f13 | 2007-04-02 14:06:29 +0100 | [diff] [blame] | 47 | obj-$(CONFIG_MACH_PICOTUX2XX) += board-picotux200.o |
Andrew Victor | 2f036ac | 2008-04-15 21:10:11 +0100 | [diff] [blame] | 48 | obj-$(CONFIG_MACH_ECBAT91) += board-ecbat91.o |
Andrew Victor | e3ba22d | 2008-05-24 17:06:45 +0100 | [diff] [blame] | 49 | obj-$(CONFIG_MACH_YL9200) += board-yl-9200.o |
Eric Bénard | 10233a9 | 2009-07-30 07:23:42 +0100 | [diff] [blame] | 50 | obj-$(CONFIG_MACH_CPUAT91) += board-cpuat91.o |
Uwe Kleine-König | 01c62c9 | 2009-11-03 20:39:02 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_MACH_ECO920) += board-eco920.o |
Josef Holzmayr | 82cb865 | 2011-08-02 13:28:42 +0200 | [diff] [blame] | 52 | obj-$(CONFIG_MACH_RSI_EWS) += board-rsi-ews.o |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 53 | |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 54 | # AT91SAM9260 board-specific support |
Andrew Victor | b85a891 | 2006-12-01 14:37:56 +0100 | [diff] [blame] | 55 | obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o |
Andrew Victor | 35131fb | 2008-04-15 21:05:03 +0100 | [diff] [blame] | 56 | obj-$(CONFIG_MACH_CAM60) += board-cam60.o |
Andrew Victor | 66dbfc6 | 2008-04-15 21:07:08 +0100 | [diff] [blame] | 57 | obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o |
Nico Erfurth | 6939fd4 | 2011-08-30 18:25:52 +0200 | [diff] [blame] | 58 | obj-$(CONFIG_MACH_USB_A9260) += board-usb-a926x.o |
Andrew Victor | ca0a789 | 2008-05-24 17:47:04 +0100 | [diff] [blame] | 59 | obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o |
Sergey Lapin | 9c784f9 | 2008-08-03 02:29:48 +0100 | [diff] [blame] | 60 | obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o |
Eric Bénard | 41a353d | 2009-07-30 07:20:03 +0100 | [diff] [blame] | 61 | obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o |
Maxim Osipov | 8ed9059 | 2010-09-15 11:54:49 +0100 | [diff] [blame] | 62 | obj-$(CONFIG_MACH_FLEXIBITY) += board-flexibity.o |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 63 | |
| 64 | # AT91SAM9261 board-specific support |
Andrew Victor | 022cbd7 | 2006-12-01 14:38:59 +0100 | [diff] [blame] | 65 | obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o |
Nicolas Ferre | b319ff8 | 2009-06-26 15:37:01 +0100 | [diff] [blame] | 66 | obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 67 | |
Andrew Victor | e6d92e6 | 2007-02-08 10:22:16 +0100 | [diff] [blame] | 68 | # AT91SAM9263 board-specific support |
| 69 | obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o |
Nico Erfurth | 6939fd4 | 2011-08-30 18:25:52 +0200 | [diff] [blame] | 70 | obj-$(CONFIG_MACH_USB_A9263) += board-usb-a926x.o |
Andrew Victor | e6d92e6 | 2007-02-08 10:22:16 +0100 | [diff] [blame] | 71 | |
Andrew Victor | c42dcb3 | 2007-05-11 19:24:18 +0100 | [diff] [blame] | 72 | # AT91SAM9RL board-specific support |
| 73 | obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o |
| 74 | |
sedji gaouaou | 6135266 | 2008-07-10 10:15:35 +0100 | [diff] [blame] | 75 | # AT91SAM9G20 board-specific support |
| 76 | obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o |
Eric Bénard | 41a353d | 2009-07-30 07:20:03 +0100 | [diff] [blame] | 77 | obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o |
Sergio Tanzilli | 0fb55d3 | 2010-10-14 02:06:26 +0200 | [diff] [blame] | 78 | obj-$(CONFIG_MACH_ACMENETUSFOXG20) += board-foxg20.o |
Christian Glindkamp | 9b404b7 | 2010-04-13 14:55:10 +0100 | [diff] [blame] | 79 | obj-$(CONFIG_MACH_STAMP9G20) += board-stamp9g20.o |
| 80 | obj-$(CONFIG_MACH_PORTUXG20) += board-stamp9g20.o |
Christian Glindkamp | c20b4dd | 2010-12-09 11:15:59 +0100 | [diff] [blame] | 81 | obj-$(CONFIG_MACH_PCONTROL_G20) += board-pcontrol-g20.o board-stamp9g20.o |
Igor Plyatov | fcdc2ea | 2011-01-14 19:01:13 +0100 | [diff] [blame] | 82 | obj-$(CONFIG_MACH_GSIA18S) += board-gsia18s.o board-stamp9g20.o |
Jean-Christophe PLAGNIOL-VILLARD | 0a072a2 | 2011-08-30 18:25:53 +0200 | [diff] [blame] | 83 | obj-$(CONFIG_MACH_USB_A9G20) += board-usb-a926x.o |
sedji gaouaou | 6135266 | 2008-07-10 10:15:35 +0100 | [diff] [blame] | 84 | |
Ryan Mallon | 064baac | 2010-07-06 21:48:53 +0100 | [diff] [blame] | 85 | # AT91SAM9260/AT91SAM9G20 board-specific support |
| 86 | obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o |
| 87 | |
Nicolas Ferre | 789b23b | 2009-06-26 15:36:58 +0100 | [diff] [blame] | 88 | # AT91SAM9G45 board-specific support |
Jean-Christophe PLAGNIOL-VILLARD | 67dd899 | 2010-09-22 07:55:59 +0200 | [diff] [blame] | 89 | obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o |
Nicolas Ferre | 789b23b | 2009-06-26 15:36:58 +0100 | [diff] [blame] | 90 | |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 91 | # AT91SAM board with device-tree |
Jean-Christophe PLAGNIOL-VILLARD | 9317960 | 2013-02-19 18:32:09 +0800 | [diff] [blame] | 92 | obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o |
Jean-Christophe PLAGNIOL-VILLARD | 4afcd1d | 2013-02-19 18:30:29 +0800 | [diff] [blame] | 93 | obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 94 | |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame^] | 95 | # SAMA5 board with device-tree |
| 96 | obj-$(CONFIG_MACH_SAMA5_DT) += board-dt-sama5.o |
| 97 | |
Andrew Victor | b7b272a | 2008-01-23 09:23:09 +0100 | [diff] [blame] | 98 | # AT91X40 board-specific support |
| 99 | obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 100 | |
Andrew Victor | b7b272a | 2008-01-23 09:23:09 +0100 | [diff] [blame] | 101 | # Drivers |
Andrew Victor | a04ff1a | 2008-01-23 09:27:06 +0100 | [diff] [blame] | 102 | obj-y += leds.o |
Andrew Victor | 5c3fddc | 2006-06-20 19:30:20 +0100 | [diff] [blame] | 103 | |
Andrew Victor | b7b272a | 2008-01-23 09:23:09 +0100 | [diff] [blame] | 104 | # Power Management |
| 105 | obj-$(CONFIG_PM) += pm.o |
Andrew Victor | eaad2db | 2008-09-21 21:35:18 +0100 | [diff] [blame] | 106 | obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o |
Albin Tonnerre | 1ea60cf | 2009-11-01 18:40:50 +0100 | [diff] [blame] | 107 | obj-$(CONFIG_CPU_IDLE) += cpuidle.o |
Andrew Victor | 5c3fddc | 2006-06-20 19:30:20 +0100 | [diff] [blame] | 108 | |
| 109 | ifeq ($(CONFIG_PM_DEBUG),y) |
| 110 | CFLAGS_pm.o += -DDEBUG |
| 111 | endif |