xref: /openbmc/linux/arch/arm/mach-at91/Makefile (revision f30828a6)
1#
2# Makefile for the linux kernel.
3#
4
5obj-y		:= irq.o gpio.o
6obj-m		:=
7obj-n		:=
8obj-		:=
9
10obj-$(CONFIG_AT91_PMC_UNIT)	+= clock.o
11
12# CPU-specific support
13obj-$(CONFIG_ARCH_AT91RM9200)	+= at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
14obj-$(CONFIG_ARCH_AT91SAM9260)	+= at91sam9260.o at91sam926x_time.o at91sam9260_devices.o
15obj-$(CONFIG_ARCH_AT91SAM9261)	+= at91sam9261.o at91sam926x_time.o at91sam9261_devices.o
16obj-$(CONFIG_ARCH_AT91SAM9263)	+= at91sam9263.o at91sam926x_time.o at91sam9263_devices.o
17obj-$(CONFIG_ARCH_AT91SAM9RL)	+= at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o
18obj-$(CONFIG_ARCH_AT91SAM9G20)	+= at91sam9260.o at91sam926x_time.o at91sam9260_devices.o
19obj-$(CONFIG_ARCH_AT91CAP9)	+= at91cap9.o at91sam926x_time.o at91cap9_devices.o
20obj-$(CONFIG_ARCH_AT91X40)	+= at91x40.o at91x40_time.o
21
22# AT91RM9200 board-specific support
23obj-$(CONFIG_MACH_ONEARM)	+= board-1arm.o
24obj-$(CONFIG_ARCH_AT91RM9200DK)	+= board-dk.o
25obj-$(CONFIG_MACH_AT91RM9200EK)	+= board-ek.o
26obj-$(CONFIG_MACH_CSB337)	+= board-csb337.o
27obj-$(CONFIG_MACH_CSB637)	+= board-csb637.o
28obj-$(CONFIG_MACH_CARMEVA)	+= board-carmeva.o
29obj-$(CONFIG_MACH_KB9200)	+= board-kb9202.o
30obj-$(CONFIG_MACH_ATEB9200)	+= board-eb9200.o
31obj-$(CONFIG_MACH_KAFA)		+= board-kafa.o
32obj-$(CONFIG_MACH_PICOTUX2XX)	+= board-picotux200.o
33obj-$(CONFIG_MACH_ECBAT91)	+= board-ecbat91.o
34obj-$(CONFIG_MACH_YL9200)	+= board-yl-9200.o
35
36# AT91SAM9260 board-specific support
37obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
38obj-$(CONFIG_MACH_CAM60)	+= board-cam60.o
39obj-$(CONFIG_MACH_SAM9_L9260)	+= board-sam9-l9260.o
40obj-$(CONFIG_MACH_USB_A9260)	+= board-usb-a9260.o
41obj-$(CONFIG_MACH_QIL_A9260)	+= board-qil-a9260.o
42
43# AT91SAM9261 board-specific support
44obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
45
46# AT91SAM9263 board-specific support
47obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
48obj-$(CONFIG_MACH_USB_A9263)	+= board-usb-a9263.o
49
50# AT91SAM9RL board-specific support
51obj-$(CONFIG_MACH_AT91SAM9RLEK)	+= board-sam9rlek.o
52
53# AT91SAM9G20 board-specific support
54obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
55
56# AT91CAP9 board-specific support
57obj-$(CONFIG_MACH_AT91CAP9ADK)	+= board-cap9adk.o
58
59# AT91X40 board-specific support
60obj-$(CONFIG_MACH_AT91EB01)	+= board-eb01.o
61
62# Drivers
63obj-y				+= leds.o
64
65# Power Management
66obj-$(CONFIG_PM)		+= pm.o
67
68ifeq ($(CONFIG_PM_DEBUG),y)
69CFLAGS_pm.o += -DDEBUG
70endif
71