Makefile 1.6 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5
#
# Makefile for the linux kernel.
#

# Common support (must be linked before board specific support)
6
obj-y				+= clock.o devices.o generic.o irq.o dma.o time.o
7 8
obj-$(CONFIG_PXA25x)		+= pxa25x.o
obj-$(CONFIG_PXA27x)		+= pxa27x.o
E
eric miao 已提交
9 10 11
obj-$(CONFIG_PXA3xx)		+= pxa3xx.o mfp.o
obj-$(CONFIG_CPU_PXA300)	+= pxa300.o
obj-$(CONFIG_CPU_PXA320)	+= pxa320.o
L
Linus Torvalds 已提交
12 13

# Specific board support
14
obj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
15
obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
16 17
obj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
obj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
18
obj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
19
obj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o corgi_pm.o
20
obj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o spitz_pm.o
21
obj-$(CONFIG_MACH_AKITA)	+= akita-ioexp.o
22
obj-$(CONFIG_MACH_POODLE)	+= poodle.o corgi_ssp.o
23 24
obj-$(CONFIG_MACH_TOSA)		+= tosa.o
obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
L
Linus Torvalds 已提交
25

E
eric miao 已提交
26 27 28 29 30 31
ifeq ($(CONFIG_MACH_ZYLONITE),y)
  obj-y				+= zylonite.o
  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
endif

32 33
obj-$(CONFIG_MACH_ARMCORE)      += cm-x270.o

L
Linus Torvalds 已提交
34 35
# Support for blinky lights
led-y := leds.o
36 37 38 39
led-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
led-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
led-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
led-$(CONFIG_MACH_TRIZEPS4)	+= leds-trizeps4.o
L
Linus Torvalds 已提交
40

41
obj-$(CONFIG_LEDS)		+= $(led-y)
L
Linus Torvalds 已提交
42 43

# Misc features
44
obj-$(CONFIG_PM)		+= pm.o sleep.o
R
Russell King 已提交
45
obj-$(CONFIG_CPU_FREQ)		+= cpu-pxa.o
46
obj-$(CONFIG_PXA_SSP)		+= ssp.o
47 48

ifeq ($(CONFIG_PXA27x),y)
49
obj-$(CONFIG_PM)		+= standby.o
50
endif
51 52 53 54

ifeq ($(CONFIG_PCI),y)
obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o
endif