blob: d992dd5d9321384fdfc885f4336b127e5a984396 [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
Andrew Victor5c3fddc2006-06-20 19:30:20 +010011
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010012# CPU-specific support
Andrew Victor05043d02006-12-01 11:51:19 +010013obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
Nicolas Ferrebb413db2010-10-14 19:14:00 +020014obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o at91sam9_alt_reset.o
15obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o at91sam9_alt_reset.o
16obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o at91sam9_alt_reset.o
17obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263.o at91sam926x_time.o at91sam9263_devices.o sam9_smc.o at91sam9_alt_reset.o
18obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o sam9_smc.o at91sam9_alt_reset.o
Nicolas Ferre13455622010-10-14 17:19:11 +020019obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o at91sam9_alt_reset.o
Ernst Schwabb1cdbb52010-03-04 10:15:39 +010020obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45.o at91sam926x_time.o at91sam9g45_devices.o sam9_smc.o
Andrew Victor67810022008-10-13 20:28:13 +010021obj-$(CONFIG_ARCH_AT91CAP9) += at91cap9.o at91sam926x_time.o at91cap9_devices.o sam9_smc.o
Greg Ungererea00e302007-07-30 02:39:15 +010022obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010023
Andrew Victor62c16602006-11-30 12:27:38 +010024# AT91RM9200 board-specific support
Lennert Buytenhekb184a4c2006-06-26 17:48:29 +010025obj-$(CONFIG_MACH_ONEARM) += board-1arm.o
Jean-Christophe PLAGNIOL-VILLARD985f5542010-11-19 22:34:38 +080026obj-$(CONFIG_ARCH_AT91RM9200DK) += board-rm9200dk.o
27obj-$(CONFIG_MACH_AT91RM9200EK) += board-rm9200ek.o
Andrew Victor49978db2006-01-10 16:59:29 +000028obj-$(CONFIG_MACH_CSB337) += board-csb337.o
29obj-$(CONFIG_MACH_CSB637) += board-csb637.o
Andrew Victor6902f522006-06-20 19:30:18 +010030obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o
31obj-$(CONFIG_MACH_KB9200) += board-kb9202.o
32obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o
33obj-$(CONFIG_MACH_KAFA) += board-kafa.o
Simon Richter5d01f132007-04-02 14:06:29 +010034obj-$(CONFIG_MACH_PICOTUX2XX) += board-picotux200.o
Andrew Victor2f036ac2008-04-15 21:10:11 +010035obj-$(CONFIG_MACH_ECBAT91) += board-ecbat91.o
Andrew Victore3ba22d2008-05-24 17:06:45 +010036obj-$(CONFIG_MACH_YL9200) += board-yl-9200.o
Eric Bénard10233a92009-07-30 07:23:42 +010037obj-$(CONFIG_MACH_CPUAT91) += board-cpuat91.o
Uwe Kleine-König01c62c92009-11-03 20:39:02 +010038obj-$(CONFIG_MACH_ECO920) += board-eco920.o
Josef Holzmayr82cb8652011-08-02 13:28:42 +020039obj-$(CONFIG_MACH_RSI_EWS) += board-rsi-ews.o
SAN People73a59c12006-01-09 17:05:41 +000040
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010041# AT91SAM9260 board-specific support
Andrew Victorb85a8912006-12-01 14:37:56 +010042obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
Andrew Victor35131fb2008-04-15 21:05:03 +010043obj-$(CONFIG_MACH_CAM60) += board-cam60.o
Andrew Victor66dbfc62008-04-15 21:07:08 +010044obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o
Nico Erfurth6939fd42011-08-30 18:25:52 +020045obj-$(CONFIG_MACH_USB_A9260) += board-usb-a926x.o
Andrew Victorca0a7892008-05-24 17:47:04 +010046obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o
Sergey Lapin9c784f92008-08-03 02:29:48 +010047obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o
Eric Bénard41a353d2009-07-30 07:20:03 +010048obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o
Maxim Osipov8ed90592010-09-15 11:54:49 +010049obj-$(CONFIG_MACH_FLEXIBITY) += board-flexibity.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010050
51# AT91SAM9261 board-specific support
Andrew Victor022cbd72006-12-01 14:38:59 +010052obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
Nicolas Ferreb319ff82009-06-26 15:37:01 +010053obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010054
Andrew Victore6d92e62007-02-08 10:22:16 +010055# AT91SAM9263 board-specific support
56obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
Nico Erfurth6939fd42011-08-30 18:25:52 +020057obj-$(CONFIG_MACH_USB_A9263) += board-usb-a926x.o
Andrew Victorffc63b72008-10-06 20:13:53 +010058obj-$(CONFIG_MACH_NEOCORE926) += board-neocore926.o
Andrew Victore6d92e62007-02-08 10:22:16 +010059
Andrew Victorc42dcb32007-05-11 19:24:18 +010060# AT91SAM9RL board-specific support
61obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
62
sedji gaouaou61352662008-07-10 10:15:35 +010063# AT91SAM9G20 board-specific support
64obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
Eric Bénard41a353d2009-07-30 07:20:03 +010065obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o
Sergio Tanzilli0fb55d32010-10-14 02:06:26 +020066obj-$(CONFIG_MACH_ACMENETUSFOXG20) += board-foxg20.o
Christian Glindkamp9b404b72010-04-13 14:55:10 +010067obj-$(CONFIG_MACH_STAMP9G20) += board-stamp9g20.o
68obj-$(CONFIG_MACH_PORTUXG20) += board-stamp9g20.o
Christian Glindkampc20b4dd2010-12-09 11:15:59 +010069obj-$(CONFIG_MACH_PCONTROL_G20) += board-pcontrol-g20.o board-stamp9g20.o
Igor Plyatovfcdc2ea2011-01-14 19:01:13 +010070obj-$(CONFIG_MACH_GSIA18S) += board-gsia18s.o board-stamp9g20.o
Jean-Christophe PLAGNIOL-VILLARD0a072a22011-08-30 18:25:53 +020071obj-$(CONFIG_MACH_USB_A9G20) += board-usb-a926x.o
sedji gaouaou61352662008-07-10 10:15:35 +010072
Ryan Mallon064baac2010-07-06 21:48:53 +010073# AT91SAM9260/AT91SAM9G20 board-specific support
74obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o
75
Nicolas Ferre789b23b2009-06-26 15:36:58 +010076# AT91SAM9G45 board-specific support
Jean-Christophe PLAGNIOL-VILLARD67dd8992010-09-22 07:55:59 +020077obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
Nicolas Ferre789b23b2009-06-26 15:36:58 +010078
Andrew Victor86640ca2008-01-24 15:16:41 +010079# AT91CAP9 board-specific support
80obj-$(CONFIG_MACH_AT91CAP9ADK) += board-cap9adk.o
81
Andrew Victorb7b272a2008-01-23 09:23:09 +010082# AT91X40 board-specific support
83obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o
SAN People73a59c12006-01-09 17:05:41 +000084
Andrew Victorb7b272a2008-01-23 09:23:09 +010085# Drivers
Andrew Victora04ff1a2008-01-23 09:27:06 +010086obj-y += leds.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010087
Andrew Victorb7b272a2008-01-23 09:23:09 +010088# Power Management
89obj-$(CONFIG_PM) += pm.o
Andrew Victoreaad2db2008-09-21 21:35:18 +010090obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o
Albin Tonnerre1ea60cf2009-11-01 18:40:50 +010091obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010092
93ifeq ($(CONFIG_PM_DEBUG),y)
94CFLAGS_pm.o += -DDEBUG
95endif