Makefile 3.2 KB
Newer Older
1 2 3 4
#
# Makefile for the linux kernel.
#

5
obj-y		:= irq.o gpio.o
6 7 8 9
obj-m		:=
obj-n		:=
obj-		:=

10
obj-$(CONFIG_AT91_PMC_UNIT)	+= clock.o
11

12
# CPU-specific support
13
obj-$(CONFIG_ARCH_AT91RM9200)	+= at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
14 15
obj-$(CONFIG_ARCH_AT91SAM9260)	+= at91sam9260.o at91sam926x_time.o at91sam9260_devices.o sam9_smc.o
obj-$(CONFIG_ARCH_AT91SAM9261)	+= at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o
16
obj-$(CONFIG_ARCH_AT91SAM9G10)	+= at91sam9261.o at91sam926x_time.o at91sam9261_devices.o sam9_smc.o
17 18 19
obj-$(CONFIG_ARCH_AT91SAM9263)	+= at91sam9263.o at91sam926x_time.o at91sam9263_devices.o sam9_smc.o
obj-$(CONFIG_ARCH_AT91SAM9RL)	+= at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o sam9_smc.o
obj-$(CONFIG_ARCH_AT91SAM9G20)	+= at91sam9260.o at91sam926x_time.o at91sam9260_devices.o  sam9_smc.o
20
 obj-$(CONFIG_ARCH_AT91SAM9G45)	+= at91sam9g45.o at91sam926x_time.o at91sam9g45_devices.o sam9_smc.o
21
obj-$(CONFIG_ARCH_AT91CAP9)	+= at91cap9.o at91sam926x_time.o at91cap9_devices.o sam9_smc.o
22
obj-$(CONFIG_ARCH_AT91X40)	+= at91x40.o at91x40_time.o
23

24
# AT91RM9200 board-specific support
25
obj-$(CONFIG_MACH_ONEARM)	+= board-1arm.o
26 27
obj-$(CONFIG_ARCH_AT91RM9200DK)	+= board-dk.o
obj-$(CONFIG_MACH_AT91RM9200EK)	+= board-ek.o
28 29
obj-$(CONFIG_MACH_CSB337)	+= board-csb337.o
obj-$(CONFIG_MACH_CSB637)	+= board-csb637.o
30 31 32 33
obj-$(CONFIG_MACH_CARMEVA)	+= board-carmeva.o
obj-$(CONFIG_MACH_KB9200)	+= board-kb9202.o
obj-$(CONFIG_MACH_ATEB9200)	+= board-eb9200.o
obj-$(CONFIG_MACH_KAFA)		+= board-kafa.o
34
obj-$(CONFIG_MACH_PICOTUX2XX)	+= board-picotux200.o
35
obj-$(CONFIG_MACH_ECBAT91)	+= board-ecbat91.o
36
obj-$(CONFIG_MACH_YL9200)	+= board-yl-9200.o
37
obj-$(CONFIG_MACH_CPUAT91)	+= board-cpuat91.o
38
obj-$(CONFIG_MACH_ECO920)	+= board-eco920.o
39

40
# AT91SAM9260 board-specific support
41
obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
42
obj-$(CONFIG_MACH_CAM60)	+= board-cam60.o
43
obj-$(CONFIG_MACH_SAM9_L9260)	+= board-sam9-l9260.o
44 45
obj-$(CONFIG_MACH_USB_A9260)	+= board-usb-a9260.o
obj-$(CONFIG_MACH_QIL_A9260)	+= board-qil-a9260.o
46
obj-$(CONFIG_MACH_AFEB9260)	+= board-afeb-9260v1.o
47
obj-$(CONFIG_MACH_CPU9260)	+= board-cpu9krea.o
48 49

# AT91SAM9261 board-specific support
50
obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
51
obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o
52

53 54
# AT91SAM9263 board-specific support
obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
55
obj-$(CONFIG_MACH_USB_A9263)	+= board-usb-a9263.o
56
obj-$(CONFIG_MACH_NEOCORE926)	+= board-neocore926.o
57

58 59 60
# AT91SAM9RL board-specific support
obj-$(CONFIG_MACH_AT91SAM9RLEK)	+= board-sam9rlek.o

61 62
# AT91SAM9G20 board-specific support
obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
63
obj-$(CONFIG_MACH_AT91SAM9G20EK_2MMC) += board-sam9g20ek-2slot-mmc.o
64
obj-$(CONFIG_MACH_CPU9G20)	+= board-cpu9krea.o
65

66 67 68
# AT91SAM9G45 board-specific support
obj-$(CONFIG_MACH_AT91SAM9G45EKES) += board-sam9m10g45ek.o

69 70 71
# AT91CAP9 board-specific support
obj-$(CONFIG_MACH_AT91CAP9ADK)	+= board-cap9adk.o

72 73
# AT91X40 board-specific support
obj-$(CONFIG_MACH_AT91EB01)	+= board-eb01.o
74

75
# Drivers
A
Andrew Victor 已提交
76
obj-y				+= leds.o
77

78 79
# Power Management
obj-$(CONFIG_PM)		+= pm.o
80
obj-$(CONFIG_AT91_SLOW_CLOCK)	+= pm_slowclock.o
81
obj-$(CONFIG_CPU_IDLE)	+= cpuidle.o
82 83 84 85

ifeq ($(CONFIG_PM_DEBUG),y)
CFLAGS_pm.o += -DDEBUG
endif