blob: a6ed015d82edc9822f92a57a72ead4cf22760095 [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
SAN People73a59c12006-01-09 17:05:41 +000038
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010039# AT91SAM9260 board-specific support
Andrew Victorb85a8912006-12-01 14:37:56 +010040obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
Andrew Victor35131fb2008-04-15 21:05:03 +010041obj-$(CONFIG_MACH_CAM60) += board-cam60.o
Andrew Victor66dbfc62008-04-15 21:07:08 +010042obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o
Andrew Victorca0a7892008-05-24 17:47:04 +010043obj-$(CONFIG_MACH_USB_A9260) += board-usb-a9260.o
44obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o
Sergey Lapin9c784f92008-08-03 02:29:48 +010045obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o
Eric Bénard41a353d2009-07-30 07:20:03 +010046obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010047
48# AT91SAM9261 board-specific support
Andrew Victor022cbd72006-12-01 14:38:59 +010049obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
Nicolas Ferreb319ff82009-06-26 15:37:01 +010050obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010051
Andrew Victore6d92e62007-02-08 10:22:16 +010052# AT91SAM9263 board-specific support
53obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
Andrew Victorca0a7892008-05-24 17:47:04 +010054obj-$(CONFIG_MACH_USB_A9263) += board-usb-a9263.o
Andrew Victorffc63b72008-10-06 20:13:53 +010055obj-$(CONFIG_MACH_NEOCORE926) += board-neocore926.o
Andrew Victore6d92e62007-02-08 10:22:16 +010056
Andrew Victorc42dcb32007-05-11 19:24:18 +010057# AT91SAM9RL board-specific support
58obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
59
sedji gaouaou61352662008-07-10 10:15:35 +010060# AT91SAM9G20 board-specific support
61obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
Eric Bénard41a353d2009-07-30 07:20:03 +010062obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o
sedji gaouaou61352662008-07-10 10:15:35 +010063
Nicolas Ferre789b23b2009-06-26 15:36:58 +010064# AT91SAM9G45 board-specific support
65obj-$(CONFIG_MACH_AT91SAM9G45EKES) += board-sam9m10g45ek.o
66
Andrew Victor86640ca2008-01-24 15:16:41 +010067# AT91CAP9 board-specific support
68obj-$(CONFIG_MACH_AT91CAP9ADK) += board-cap9adk.o
69
Andrew Victorb7b272a2008-01-23 09:23:09 +010070# AT91X40 board-specific support
71obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o
SAN People73a59c12006-01-09 17:05:41 +000072
Andrew Victorb7b272a2008-01-23 09:23:09 +010073# Drivers
Andrew Victora04ff1a2008-01-23 09:27:06 +010074obj-y += leds.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010075
Andrew Victorb7b272a2008-01-23 09:23:09 +010076# Power Management
77obj-$(CONFIG_PM) += pm.o
Andrew Victoreaad2db2008-09-21 21:35:18 +010078obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010079
80ifeq ($(CONFIG_PM_DEBUG),y)
81CFLAGS_pm.o += -DDEBUG
82endif