Makefile 2.5 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 \
7
				   time.o gpio.o reset.o
8 9 10 11 12
obj-$(CONFIG_PM)		+= pm.o sleep.o standby.o
obj-$(CONFIG_CPU_FREQ)		+= cpu-pxa.o

# Generic drivers that other drivers may depend upon
obj-$(CONFIG_PXA_SSP)		+= ssp.o
13
obj-$(CONFIG_PXA_PWM)		+= pwm.o
14 15

# SoC-specific code
16 17
obj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o pxa2xx.o pxa25x.o
obj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o pxa2xx.o pxa27x.o
18
obj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o pxa3xx.o smemc.o
E
eric miao 已提交
19 20
obj-$(CONFIG_CPU_PXA300)	+= pxa300.o
obj-$(CONFIG_CPU_PXA320)	+= pxa320.o
21
obj-$(CONFIG_CPU_PXA930)	+= pxa930.o
L
Linus Torvalds 已提交
22 23

# Specific board support
24
obj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
25
obj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
26
obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
27 28
obj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
obj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
29
obj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
30
obj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
31
obj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o corgi_pm.o
32
obj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o spitz_pm.o
33
obj-$(CONFIG_MACH_AKITA)	+= akita-ioexp.o
34
obj-$(CONFIG_MACH_POODLE)	+= poodle.o corgi_ssp.o
35
obj-$(CONFIG_MACH_PCM027)	+= pcm027.o
36
obj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
37 38
obj-$(CONFIG_MACH_TOSA)		+= tosa.o
obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
39
obj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
I
Ian Molton 已提交
40
obj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o eseries_udc.o
41 42 43 44 45 46
obj-$(CONFIG_MACH_E330)		+= e330.o
obj-$(CONFIG_MACH_E350)		+= e350.o
obj-$(CONFIG_MACH_E740)		+= e740.o e740_lcd.o
obj-$(CONFIG_MACH_E750)		+= e750.o e750_lcd.o
obj-$(CONFIG_MACH_E400)		+= e400.o e400_lcd.o
obj-$(CONFIG_MACH_E800)		+= e800.o e800_lcd.o
R
Russell King 已提交
47
obj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
L
Linus Torvalds 已提交
48

E
eric miao 已提交
49 50 51 52 53
ifeq ($(CONFIG_MACH_ZYLONITE),y)
  obj-y				+= zylonite.o
  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
endif
54
obj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
55
obj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
56
obj-$(CONFIG_MACH_SAAR)		+= saar.o
E
eric miao 已提交
57

58
obj-$(CONFIG_MACH_ARMCORE)      += cm-x270.o
59
obj-$(CONFIG_PXA_EZX)           += ezx.o
60

L
Linus Torvalds 已提交
61 62
# Support for blinky lights
led-y := leds.o
63 64 65 66
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 已提交
67

68
obj-$(CONFIG_LEDS)		+= $(led-y)
L
Linus Torvalds 已提交
69

70 71 72
ifeq ($(CONFIG_PCI),y)
obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o
endif
73 74

obj-$(CONFIG_TOSA_BT)		+= tosa-bt.o