blob: 709fbad4a3ee2b28b14ec7fd0281dc4382702c76 [file] [log] [blame]
SAN People73a59c12006-01-09 17:05:41 +00001#
2# Makefile for the linux kernel.
3#
4
Greg Ungererea00e302007-07-30 02:39:15 +01005obj-y := irq.o gpio.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
Andrew Victor67810022008-10-13 20:28:13 +010014obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o
15obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o
Nicolas Ferreb319ff82009-06-26 15:37:01 +010016obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o
Andrew Victor67810022008-10-13 20:28:13 +010017obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263.o at91sam926x_time.o at91sam9263_devices.o sam9_smc.o
18obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o sam9_smc.o
19obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o
Nicolas Ferre789b23b2009-06-26 15:36:58 +010020 obj-$(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
Andrew Victorf0a13852006-01-10 16:59:28 +000026obj-$(CONFIG_ARCH_AT91RM9200DK) += board-dk.o
27obj-$(CONFIG_MACH_AT91RM9200EK) += board-ek.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
SAN People73a59c12006-01-09 17:05:41 +000039
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010040# AT91SAM9260 board-specific support
Andrew Victorb85a8912006-12-01 14:37:56 +010041obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
Andrew Victor35131fb2008-04-15 21:05:03 +010042obj-$(CONFIG_MACH_CAM60) += board-cam60.o
Andrew Victor66dbfc62008-04-15 21:07:08 +010043obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o
Andrew Victorca0a7892008-05-24 17:47:04 +010044obj-$(CONFIG_MACH_USB_A9260) += board-usb-a9260.o
45obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o
Sergey Lapin9c784f92008-08-03 02:29:48 +010046obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o
Eric Bénard41a353d2009-07-30 07:20:03 +010047obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010048
49# AT91SAM9261 board-specific support
Andrew Victor022cbd72006-12-01 14:38:59 +010050obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
Nicolas Ferreb319ff82009-06-26 15:37:01 +010051obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010052
Andrew Victore6d92e62007-02-08 10:22:16 +010053# AT91SAM9263 board-specific support
54obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
Andrew Victorca0a7892008-05-24 17:47:04 +010055obj-$(CONFIG_MACH_USB_A9263) += board-usb-a9263.o
Andrew Victorffc63b72008-10-06 20:13:53 +010056obj-$(CONFIG_MACH_NEOCORE926) += board-neocore926.o
Andrew Victore6d92e62007-02-08 10:22:16 +010057
Andrew Victorc42dcb32007-05-11 19:24:18 +010058# AT91SAM9RL board-specific support
59obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
60
sedji gaouaou61352662008-07-10 10:15:35 +010061# AT91SAM9G20 board-specific support
62obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
Rob Emanuele864f38e2009-09-22 16:45:22 -070063obj-$(CONFIG_MACH_AT91SAM9G20EK_2MMC) += board-sam9g20ek-2slot-mmc.o
Eric Bénard41a353d2009-07-30 07:20:03 +010064obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o
sedji gaouaou61352662008-07-10 10:15:35 +010065
Nicolas Ferre789b23b2009-06-26 15:36:58 +010066# AT91SAM9G45 board-specific support
67obj-$(CONFIG_MACH_AT91SAM9G45EKES) += board-sam9m10g45ek.o
68
Andrew Victor86640ca2008-01-24 15:16:41 +010069# AT91CAP9 board-specific support
70obj-$(CONFIG_MACH_AT91CAP9ADK) += board-cap9adk.o
71
Andrew Victorb7b272a2008-01-23 09:23:09 +010072# AT91X40 board-specific support
73obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o
SAN People73a59c12006-01-09 17:05:41 +000074
Andrew Victorb7b272a2008-01-23 09:23:09 +010075# Drivers
Andrew Victora04ff1a2008-01-23 09:27:06 +010076obj-y += leds.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010077
Andrew Victorb7b272a2008-01-23 09:23:09 +010078# Power Management
79obj-$(CONFIG_PM) += pm.o
Andrew Victoreaad2db2008-09-21 21:35:18 +010080obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o
Albin Tonnerre1ea60cf2009-11-01 18:40:50 +010081obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010082
83ifeq ($(CONFIG_PM_DEBUG),y)
84CFLAGS_pm.o += -DDEBUG
85endif