2 # Makefile for the linux kernel.
5 obj-y
:= irq.o gpio.o setup.o
10 obj-
$(CONFIG_AT91_PMC_UNIT
) += clock.o
11 obj-
$(CONFIG_AT91_SAM9_ALT_RESET
) += at91sam9_alt_reset.o
12 obj-
$(CONFIG_AT91_SAM9G45_RESET
) += at91sam9g45_reset.o
14 # CPU-specific support
15 obj-
$(CONFIG_ARCH_AT91RM9200
) += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
16 obj-
$(CONFIG_ARCH_AT91SAM9260
) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o
17 obj-
$(CONFIG_ARCH_AT91SAM9261
) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o
18 obj-
$(CONFIG_ARCH_AT91SAM9G10
) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o
19 obj-
$(CONFIG_ARCH_AT91SAM9263
) += at91sam9263.o at91sam926x_time.o at91sam9263_devices.o sam9_smc.o
20 obj-
$(CONFIG_ARCH_AT91SAM9RL
) += at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o sam9_smc.o
21 obj-
$(CONFIG_ARCH_AT91SAM9G20
) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o
22 obj-
$(CONFIG_ARCH_AT91SAM9G45
) += at91sam9g45.o at91sam926x_time.o at91sam9g45_devices.o sam9_smc.o
23 obj-
$(CONFIG_ARCH_AT91CAP9
) += at91cap9.o at91sam926x_time.o at91cap9_devices.o sam9_smc.o
24 obj-
$(CONFIG_ARCH_AT91X40
) += at91x40.o at91x40_time.o
26 # AT91RM9200 board-specific support
27 obj-
$(CONFIG_MACH_ONEARM
) += board-1arm.o
28 obj-
$(CONFIG_ARCH_AT91RM9200DK
) += board-rm9200dk.o
29 obj-
$(CONFIG_MACH_AT91RM9200EK
) += board-rm9200ek.o
30 obj-
$(CONFIG_MACH_CSB337
) += board-csb337.o
31 obj-
$(CONFIG_MACH_CSB637
) += board-csb637.o
32 obj-
$(CONFIG_MACH_CARMEVA
) += board-carmeva.o
33 obj-
$(CONFIG_MACH_KB9200
) += board-kb9202.o
34 obj-
$(CONFIG_MACH_ATEB9200
) += board-eb9200.o
35 obj-
$(CONFIG_MACH_KAFA
) += board-kafa.o
36 obj-
$(CONFIG_MACH_PICOTUX2XX
) += board-picotux200.o
37 obj-
$(CONFIG_MACH_ECBAT91
) += board-ecbat91.o
38 obj-
$(CONFIG_MACH_YL9200
) += board-yl-9200.o
39 obj-
$(CONFIG_MACH_CPUAT91
) += board-cpuat91.o
40 obj-
$(CONFIG_MACH_ECO920
) += board-eco920.o
41 obj-
$(CONFIG_MACH_RSI_EWS
) += board-rsi-ews.o
43 # AT91SAM9260 board-specific support
44 obj-
$(CONFIG_MACH_AT91SAM9260EK
) += board-sam9260ek.o
45 obj-
$(CONFIG_MACH_CAM60
) += board-cam60.o
46 obj-
$(CONFIG_MACH_SAM9_L9260
) += board-sam9-l9260.o
47 obj-
$(CONFIG_MACH_USB_A9260
) += board-usb-a926x.o
48 obj-
$(CONFIG_MACH_QIL_A9260
) += board-qil-a9260.o
49 obj-
$(CONFIG_MACH_AFEB9260
) += board-afeb-9260v1.o
50 obj-
$(CONFIG_MACH_CPU9260
) += board-cpu9krea.o
51 obj-
$(CONFIG_MACH_FLEXIBITY
) += board-flexibity.o
53 # AT91SAM9261 board-specific support
54 obj-
$(CONFIG_MACH_AT91SAM9261EK
) += board-sam9261ek.o
55 obj-
$(CONFIG_MACH_AT91SAM9G10EK
) += board-sam9261ek.o
57 # AT91SAM9263 board-specific support
58 obj-
$(CONFIG_MACH_AT91SAM9263EK
) += board-sam9263ek.o
59 obj-
$(CONFIG_MACH_USB_A9263
) += board-usb-a926x.o
60 obj-
$(CONFIG_MACH_NEOCORE926
) += board-neocore926.o
62 # AT91SAM9RL board-specific support
63 obj-
$(CONFIG_MACH_AT91SAM9RLEK
) += board-sam9rlek.o
65 # AT91SAM9G20 board-specific support
66 obj-
$(CONFIG_MACH_AT91SAM9G20EK
) += board-sam9g20ek.o
67 obj-
$(CONFIG_MACH_CPU9G20
) += board-cpu9krea.o
68 obj-
$(CONFIG_MACH_ACMENETUSFOXG20
) += board-foxg20.o
69 obj-
$(CONFIG_MACH_STAMP9G20
) += board-stamp9g20.o
70 obj-
$(CONFIG_MACH_PORTUXG20
) += board-stamp9g20.o
71 obj-
$(CONFIG_MACH_PCONTROL_G20
) += board-pcontrol-g20.o board-stamp9g20.o
72 obj-
$(CONFIG_MACH_GSIA18S
) += board-gsia18s.o board-stamp9g20.o
73 obj-
$(CONFIG_MACH_USB_A9G20
) += board-usb-a926x.o
75 # AT91SAM9260/AT91SAM9G20 board-specific support
76 obj-
$(CONFIG_MACH_SNAPPER_9260
) += board-snapper9260.o
78 # AT91SAM9G45 board-specific support
79 obj-
$(CONFIG_MACH_AT91SAM9M10G45EK
) += board-sam9m10g45ek.o
81 # AT91SAM board with device-tree
82 obj-
$(CONFIG_MACH_AT91SAM_DT
) += board-dt.o
84 # AT91CAP9 board-specific support
85 obj-
$(CONFIG_MACH_AT91CAP9ADK
) += board-cap9adk.o
87 # AT91X40 board-specific support
88 obj-
$(CONFIG_MACH_AT91EB01
) += board-eb01.o
94 obj-
$(CONFIG_PM
) += pm.o
95 obj-
$(CONFIG_AT91_SLOW_CLOCK
) += pm_slowclock.o
96 obj-
$(CONFIG_CPU_IDLE
) += cpuidle.o
98 ifeq ($(CONFIG_PM_DEBUG
),y
)
99 CFLAGS_pm.o
+= -DDEBUG