blob: 788562dccb435f1d8b3ec0be9a79af58cb797a13 [file] [log] [blame]
SAN People73a59c12006-01-09 17:05:41 +00001#
2# Makefile for the linux kernel.
3#
4
Jean-Christophe PLAGNIOL-VILLARD21d08b92011-04-23 15:28:34 +08005obj-y := irq.o gpio.o setup.o
SAN People73a59c12006-01-09 17:05:41 +00006obj-m :=
7obj-n :=
8obj- :=
9
Greg Ungererea00e302007-07-30 02:39:15 +010010obj-$(CONFIG_AT91_PMC_UNIT) += clock.o
Jean-Christophe PLAGNIOL-VILLARDc0177592011-11-29 22:01:08 +080011obj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.o
Jean-Christophe PLAGNIOL-VILLARD14f991a2011-11-18 01:41:28 +080012obj-$(CONFIG_AT91_SAM9G45_RESET) += at91sam9g45_reset.o
Ludovic Desrochesfc05b652013-03-22 13:24:10 +000013obj-$(CONFIG_AT91_SAM9_TIME) += at91sam926x_time.o
14obj-$(CONFIG_SOC_AT91SAM9) += sam9_smc.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010015
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010016# CPU-specific support
Jean-Christophe PLAGNIOL-VILLARD1e3ce2b2012-04-06 11:51:50 +080017obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o at91rm9200_time.o
18obj-$(CONFIG_SOC_AT91SAM9260) += at91sam9260.o
19obj-$(CONFIG_SOC_AT91SAM9261) += at91sam9261.o
20obj-$(CONFIG_SOC_AT91SAM9263) += at91sam9263.o
21obj-$(CONFIG_SOC_AT91SAM9G45) += at91sam9g45.o
Hong Xu74db4fb2012-04-17 14:26:31 +080022obj-$(CONFIG_SOC_AT91SAM9N12) += at91sam9n12.o
Jean-Christophe PLAGNIOL-VILLARD1e3ce2b2012-04-06 11:51:50 +080023obj-$(CONFIG_SOC_AT91SAM9X5) += at91sam9x5.o
24obj-$(CONFIG_SOC_AT91SAM9RL) += at91sam9rl.o
Ludovic Desroches8f4b4792013-03-22 13:24:12 +000025obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o
Jean-Christophe PLAGNIOL-VILLARD1e3ce2b2012-04-06 11:51:50 +080026
27obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200_devices.o
28obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260_devices.o
29obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261_devices.o
30obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261_devices.o
31obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263_devices.o
32obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl_devices.o
33obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260_devices.o
34obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45_devices.o
Greg Ungererea00e302007-07-30 02:39:15 +010035obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010036
Andrew Victor62c16602006-11-30 12:27:38 +010037# AT91RM9200 board-specific support
Lennert Buytenhekb184a4c2006-06-26 17:48:29 +010038obj-$(CONFIG_MACH_ONEARM) += board-1arm.o
Jean-Christophe PLAGNIOL-VILLARD985f5542010-11-19 22:34:38 +080039obj-$(CONFIG_ARCH_AT91RM9200DK) += board-rm9200dk.o
40obj-$(CONFIG_MACH_AT91RM9200EK) += board-rm9200ek.o
Andrew Victor49978db2006-01-10 16:59:29 +000041obj-$(CONFIG_MACH_CSB337) += board-csb337.o
42obj-$(CONFIG_MACH_CSB637) += board-csb637.o
Andrew Victor6902f522006-06-20 19:30:18 +010043obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o
44obj-$(CONFIG_MACH_KB9200) += board-kb9202.o
45obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o
46obj-$(CONFIG_MACH_KAFA) += board-kafa.o
Simon Richter5d01f132007-04-02 14:06:29 +010047obj-$(CONFIG_MACH_PICOTUX2XX) += board-picotux200.o
Andrew Victor2f036ac2008-04-15 21:10:11 +010048obj-$(CONFIG_MACH_ECBAT91) += board-ecbat91.o
Andrew Victore3ba22d2008-05-24 17:06:45 +010049obj-$(CONFIG_MACH_YL9200) += board-yl-9200.o
Eric Bénard10233a92009-07-30 07:23:42 +010050obj-$(CONFIG_MACH_CPUAT91) += board-cpuat91.o
Uwe Kleine-König01c62c92009-11-03 20:39:02 +010051obj-$(CONFIG_MACH_ECO920) += board-eco920.o
Josef Holzmayr82cb8652011-08-02 13:28:42 +020052obj-$(CONFIG_MACH_RSI_EWS) += board-rsi-ews.o
SAN People73a59c12006-01-09 17:05:41 +000053
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010054# AT91SAM9260 board-specific support
Andrew Victorb85a8912006-12-01 14:37:56 +010055obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
Andrew Victor35131fb2008-04-15 21:05:03 +010056obj-$(CONFIG_MACH_CAM60) += board-cam60.o
Andrew Victor66dbfc62008-04-15 21:07:08 +010057obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o
Nico Erfurth6939fd42011-08-30 18:25:52 +020058obj-$(CONFIG_MACH_USB_A9260) += board-usb-a926x.o
Andrew Victorca0a7892008-05-24 17:47:04 +010059obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o
Sergey Lapin9c784f92008-08-03 02:29:48 +010060obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o
Eric Bénard41a353d2009-07-30 07:20:03 +010061obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o
Maxim Osipov8ed90592010-09-15 11:54:49 +010062obj-$(CONFIG_MACH_FLEXIBITY) += board-flexibity.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010063
64# AT91SAM9261 board-specific support
Andrew Victor022cbd72006-12-01 14:38:59 +010065obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
Nicolas Ferreb319ff82009-06-26 15:37:01 +010066obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010067
Andrew Victore6d92e62007-02-08 10:22:16 +010068# AT91SAM9263 board-specific support
69obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
Nico Erfurth6939fd42011-08-30 18:25:52 +020070obj-$(CONFIG_MACH_USB_A9263) += board-usb-a926x.o
Andrew Victore6d92e62007-02-08 10:22:16 +010071
Andrew Victorc42dcb32007-05-11 19:24:18 +010072# AT91SAM9RL board-specific support
73obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
74
sedji gaouaou61352662008-07-10 10:15:35 +010075# AT91SAM9G20 board-specific support
76obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
Eric Bénard41a353d2009-07-30 07:20:03 +010077obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o
Sergio Tanzilli0fb55d32010-10-14 02:06:26 +020078obj-$(CONFIG_MACH_ACMENETUSFOXG20) += board-foxg20.o
Christian Glindkamp9b404b72010-04-13 14:55:10 +010079obj-$(CONFIG_MACH_STAMP9G20) += board-stamp9g20.o
80obj-$(CONFIG_MACH_PORTUXG20) += board-stamp9g20.o
Christian Glindkampc20b4dd2010-12-09 11:15:59 +010081obj-$(CONFIG_MACH_PCONTROL_G20) += board-pcontrol-g20.o board-stamp9g20.o
Igor Plyatovfcdc2ea2011-01-14 19:01:13 +010082obj-$(CONFIG_MACH_GSIA18S) += board-gsia18s.o board-stamp9g20.o
Jean-Christophe PLAGNIOL-VILLARD0a072a22011-08-30 18:25:53 +020083obj-$(CONFIG_MACH_USB_A9G20) += board-usb-a926x.o
sedji gaouaou61352662008-07-10 10:15:35 +010084
Ryan Mallon064baac2010-07-06 21:48:53 +010085# AT91SAM9260/AT91SAM9G20 board-specific support
86obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o
87
Nicolas Ferre789b23b2009-06-26 15:36:58 +010088# AT91SAM9G45 board-specific support
Jean-Christophe PLAGNIOL-VILLARD67dd8992010-09-22 07:55:59 +020089obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
Nicolas Ferre789b23b2009-06-26 15:36:58 +010090
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020091# AT91SAM board with device-tree
Jean-Christophe PLAGNIOL-VILLARD93179602013-02-19 18:32:09 +080092obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
Jean-Christophe PLAGNIOL-VILLARD4afcd1d2013-02-19 18:30:29 +080093obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020094
Ludovic Desroches8f4b4792013-03-22 13:24:12 +000095# SAMA5 board with device-tree
96obj-$(CONFIG_MACH_SAMA5_DT) += board-dt-sama5.o
97
Andrew Victorb7b272a2008-01-23 09:23:09 +010098# AT91X40 board-specific support
99obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o
SAN People73a59c12006-01-09 17:05:41 +0000100
Andrew Victorb7b272a2008-01-23 09:23:09 +0100101# Drivers
Andrew Victora04ff1a2008-01-23 09:27:06 +0100102obj-y += leds.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +0100103
Andrew Victorb7b272a2008-01-23 09:23:09 +0100104# Power Management
105obj-$(CONFIG_PM) += pm.o
Andrew Victoreaad2db2008-09-21 21:35:18 +0100106obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o
Albin Tonnerre1ea60cf2009-11-01 18:40:50 +0100107obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +0100108
109ifeq ($(CONFIG_PM_DEBUG),y)
110CFLAGS_pm.o += -DDEBUG
111endif