Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
[linux-2.6] / arch / arm / mach-at91 / Makefile
1 #
2 # Makefile for the linux kernel.
3 #
4
5 obj-y           := irq.o gpio.o
6 obj-m           :=
7 obj-n           :=
8 obj-            :=
9
10 obj-$(CONFIG_AT91_PMC_UNIT)     += clock.o
11 obj-$(CONFIG_PM)                += pm.o
12
13 # CPU-specific support
14 obj-$(CONFIG_ARCH_AT91RM9200)   += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
15 obj-$(CONFIG_ARCH_AT91SAM9260)  += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o
16 obj-$(CONFIG_ARCH_AT91SAM9261)  += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o
17 obj-$(CONFIG_ARCH_AT91SAM9263)  += at91sam9263.o at91sam926x_time.o at91sam9263_devices.o
18 obj-$(CONFIG_ARCH_AT91SAM9RL)   += at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o
19 obj-$(CONFIG_ARCH_AT91X40)      += at91x40.o at91x40_time.o
20
21 # AT91RM9200 board-specific support
22 obj-$(CONFIG_MACH_ONEARM)       += board-1arm.o
23 obj-$(CONFIG_ARCH_AT91RM9200DK) += board-dk.o
24 obj-$(CONFIG_MACH_AT91RM9200EK) += board-ek.o
25 obj-$(CONFIG_MACH_CSB337)       += board-csb337.o
26 obj-$(CONFIG_MACH_CSB637)       += board-csb637.o
27 obj-$(CONFIG_MACH_CARMEVA)      += board-carmeva.o
28 obj-$(CONFIG_MACH_KB9200)       += board-kb9202.o
29 obj-$(CONFIG_MACH_ATEB9200)     += board-eb9200.o
30 obj-$(CONFIG_MACH_KAFA)         += board-kafa.o
31 obj-$(CONFIG_MACH_PICOTUX2XX)   += board-picotux200.o
32 obj-$(CONFIG_MACH_AT91EB01)     += board-eb01.o
33
34 # AT91SAM9260 board-specific support
35 obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
36
37 # AT91SAM9261 board-specific support
38 obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
39
40 # AT91SAM9263 board-specific support
41 obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
42
43 # AT91SAM9RL board-specific support
44 obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
45
46 # LEDs support
47 led-$(CONFIG_ARCH_AT91RM9200DK) += leds.o
48 led-$(CONFIG_MACH_AT91RM9200EK) += leds.o
49 led-$(CONFIG_MACH_AT91SAM9261EK)+= leds.o
50 led-$(CONFIG_MACH_CSB337)       += leds.o
51 led-$(CONFIG_MACH_CSB637)       += leds.o
52 led-$(CONFIG_MACH_KB9200)       += leds.o
53 led-$(CONFIG_MACH_KAFA)         += leds.o
54 obj-$(CONFIG_LEDS) += $(led-y)
55
56 # VGA support
57 #obj-$(CONFIG_FB_S1D13XXX)      += ics1523.o
58
59
60 ifeq ($(CONFIG_PM_DEBUG),y)
61 CFLAGS_pm.o += -DDEBUG
62 endif