blob: 3bb7a51efc9d92ee8e1eed574b4b925d5a7485e1 [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
Jean-Christophe PLAGNIOL-VILLARD1441bd32012-04-06 13:04:04 +080013obj-$(CONFIG_SOC_AT91SAM9) += at91sam926x_time.o sam9_smc.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010014
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010015# CPU-specific support
Jean-Christophe PLAGNIOL-VILLARD1e3ce2b2012-04-06 11:51:50 +080016obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o at91rm9200_time.o
17obj-$(CONFIG_SOC_AT91SAM9260) += at91sam9260.o
18obj-$(CONFIG_SOC_AT91SAM9261) += at91sam9261.o
19obj-$(CONFIG_SOC_AT91SAM9263) += at91sam9263.o
20obj-$(CONFIG_SOC_AT91SAM9G45) += at91sam9g45.o
Hong Xu74db4fb2012-04-17 14:26:31 +080021obj-$(CONFIG_SOC_AT91SAM9N12) += at91sam9n12.o
Jean-Christophe PLAGNIOL-VILLARD1e3ce2b2012-04-06 11:51:50 +080022obj-$(CONFIG_SOC_AT91SAM9X5) += at91sam9x5.o
23obj-$(CONFIG_SOC_AT91SAM9RL) += at91sam9rl.o
24
25obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200_devices.o
26obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260_devices.o
27obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261_devices.o
28obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261_devices.o
29obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263_devices.o
30obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl_devices.o
31obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260_devices.o
32obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45_devices.o
Greg Ungererea00e302007-07-30 02:39:15 +010033obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010034
Andrew Victor62c16602006-11-30 12:27:38 +010035# AT91RM9200 board-specific support
Lennert Buytenhekb184a4c2006-06-26 17:48:29 +010036obj-$(CONFIG_MACH_ONEARM) += board-1arm.o
Jean-Christophe PLAGNIOL-VILLARD985f5542010-11-19 22:34:38 +080037obj-$(CONFIG_ARCH_AT91RM9200DK) += board-rm9200dk.o
38obj-$(CONFIG_MACH_AT91RM9200EK) += board-rm9200ek.o
Andrew Victor49978db2006-01-10 16:59:29 +000039obj-$(CONFIG_MACH_CSB337) += board-csb337.o
40obj-$(CONFIG_MACH_CSB637) += board-csb637.o
Andrew Victor6902f522006-06-20 19:30:18 +010041obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o
42obj-$(CONFIG_MACH_KB9200) += board-kb9202.o
43obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o
44obj-$(CONFIG_MACH_KAFA) += board-kafa.o
Simon Richter5d01f132007-04-02 14:06:29 +010045obj-$(CONFIG_MACH_PICOTUX2XX) += board-picotux200.o
Andrew Victor2f036ac2008-04-15 21:10:11 +010046obj-$(CONFIG_MACH_ECBAT91) += board-ecbat91.o
Andrew Victore3ba22d2008-05-24 17:06:45 +010047obj-$(CONFIG_MACH_YL9200) += board-yl-9200.o
Eric Bénard10233a92009-07-30 07:23:42 +010048obj-$(CONFIG_MACH_CPUAT91) += board-cpuat91.o
Uwe Kleine-König01c62c92009-11-03 20:39:02 +010049obj-$(CONFIG_MACH_ECO920) += board-eco920.o
Josef Holzmayr82cb8652011-08-02 13:28:42 +020050obj-$(CONFIG_MACH_RSI_EWS) += board-rsi-ews.o
SAN People73a59c12006-01-09 17:05:41 +000051
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010052# AT91SAM9260 board-specific support
Andrew Victorb85a8912006-12-01 14:37:56 +010053obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
Andrew Victor35131fb2008-04-15 21:05:03 +010054obj-$(CONFIG_MACH_CAM60) += board-cam60.o
Andrew Victor66dbfc62008-04-15 21:07:08 +010055obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o
Nico Erfurth6939fd42011-08-30 18:25:52 +020056obj-$(CONFIG_MACH_USB_A9260) += board-usb-a926x.o
Andrew Victorca0a7892008-05-24 17:47:04 +010057obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o
Sergey Lapin9c784f92008-08-03 02:29:48 +010058obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o
Eric Bénard41a353d2009-07-30 07:20:03 +010059obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o
Maxim Osipov8ed90592010-09-15 11:54:49 +010060obj-$(CONFIG_MACH_FLEXIBITY) += board-flexibity.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010061
62# AT91SAM9261 board-specific support
Andrew Victor022cbd72006-12-01 14:38:59 +010063obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
Nicolas Ferreb319ff82009-06-26 15:37:01 +010064obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010065
Andrew Victore6d92e62007-02-08 10:22:16 +010066# AT91SAM9263 board-specific support
67obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
Nico Erfurth6939fd42011-08-30 18:25:52 +020068obj-$(CONFIG_MACH_USB_A9263) += board-usb-a926x.o
Andrew Victorffc63b72008-10-06 20:13:53 +010069obj-$(CONFIG_MACH_NEOCORE926) += board-neocore926.o
Andrew Victore6d92e62007-02-08 10:22:16 +010070
Andrew Victorc42dcb32007-05-11 19:24:18 +010071# AT91SAM9RL board-specific support
72obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
73
sedji gaouaou61352662008-07-10 10:15:35 +010074# AT91SAM9G20 board-specific support
75obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
Eric Bénard41a353d2009-07-30 07:20:03 +010076obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o
Sergio Tanzilli0fb55d32010-10-14 02:06:26 +020077obj-$(CONFIG_MACH_ACMENETUSFOXG20) += board-foxg20.o
Christian Glindkamp9b404b72010-04-13 14:55:10 +010078obj-$(CONFIG_MACH_STAMP9G20) += board-stamp9g20.o
79obj-$(CONFIG_MACH_PORTUXG20) += board-stamp9g20.o
Christian Glindkampc20b4dd2010-12-09 11:15:59 +010080obj-$(CONFIG_MACH_PCONTROL_G20) += board-pcontrol-g20.o board-stamp9g20.o
Igor Plyatovfcdc2ea2011-01-14 19:01:13 +010081obj-$(CONFIG_MACH_GSIA18S) += board-gsia18s.o board-stamp9g20.o
Jean-Christophe PLAGNIOL-VILLARD0a072a22011-08-30 18:25:53 +020082obj-$(CONFIG_MACH_USB_A9G20) += board-usb-a926x.o
sedji gaouaou61352662008-07-10 10:15:35 +010083
Ryan Mallon064baac2010-07-06 21:48:53 +010084# AT91SAM9260/AT91SAM9G20 board-specific support
85obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o
86
Nicolas Ferre789b23b2009-06-26 15:36:58 +010087# AT91SAM9G45 board-specific support
Jean-Christophe PLAGNIOL-VILLARD67dd8992010-09-22 07:55:59 +020088obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
Nicolas Ferre789b23b2009-06-26 15:36:58 +010089
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020090# AT91SAM board with device-tree
91obj-$(CONFIG_MACH_AT91SAM_DT) += board-dt.o
92
Andrew Victorb7b272a2008-01-23 09:23:09 +010093# AT91X40 board-specific support
94obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o
SAN People73a59c12006-01-09 17:05:41 +000095
Andrew Victorb7b272a2008-01-23 09:23:09 +010096# Drivers
Andrew Victora04ff1a2008-01-23 09:27:06 +010097obj-y += leds.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010098
Andrew Victorb7b272a2008-01-23 09:23:09 +010099# Power Management
100obj-$(CONFIG_PM) += pm.o
Andrew Victoreaad2db2008-09-21 21:35:18 +0100101obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o
Albin Tonnerre1ea60cf2009-11-01 18:40:50 +0100102obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +0100103
104ifeq ($(CONFIG_PM_DEBUG),y)
105CFLAGS_pm.o += -DDEBUG
106endif