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

ifeq ($(CONFIG_CPU_FREQ),y)
obj-$(CONFIG_PXA25x)		+= cpufreq-pxa2xx.o
obj-$(CONFIG_PXA27x)		+= cpufreq-pxa2xx.o
13
obj-$(CONFIG_PXA3xx)		+= cpufreq-pxa3xx.o
14
endif
15 16 17 18 19

# Generic drivers that other drivers may depend upon
obj-$(CONFIG_PXA_SSP)		+= ssp.o

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

# Specific board support
28
obj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
29
obj-$(CONFIG_GUMSTIX_AM200EPD)	+= am200epd.o
30
obj-$(CONFIG_GUMSTIX_AM300EPD)	+= am300epd.o
31
obj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
32
obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
33
obj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
34
obj-$(CONFIG_MACH_MP900C)	+= mp900.o
35
obj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
36
obj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
37
obj-$(CONFIG_MACH_COLIBRI)	+= colibri-pxa270.o
38
obj-$(CONFIG_MACH_COLIBRI300)	+= colibri-pxa3xx.o colibri-pxa300.o
39
obj-$(CONFIG_MACH_COLIBRI320)	+= colibri-pxa3xx.o colibri-pxa320.o
40
obj-$(CONFIG_MACH_H5000)	+= h5000.o
41
obj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o sharpsl_pm.o corgi_pm.o
42
obj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o sharpsl_pm.o spitz_pm.o
43
obj-$(CONFIG_CORGI_SSP_DEPRECATED)	+= corgi_ssp.o corgi_lcd.o
44
obj-$(CONFIG_MACH_POODLE)	+= poodle.o
45
obj-$(CONFIG_MACH_PCM027)	+= pcm027.o
46
obj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
47 48
obj-$(CONFIG_MACH_TOSA)		+= tosa.o
obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
49
obj-$(CONFIG_MACH_H4700)	+= hx4700.o
50
obj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
51
obj-$(CONFIG_MACH_HIMALAYA)	+= himalaya.o
52
obj-$(CONFIG_MACH_MIOA701)	+= mioa701.o mioa701_bootresume.o
53 54 55 56 57 58 59
obj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
obj-$(CONFIG_MACH_E330)		+= e330.o
obj-$(CONFIG_MACH_E350)		+= e350.o
obj-$(CONFIG_MACH_E740)		+= e740.o
obj-$(CONFIG_MACH_E750)		+= e750.o
obj-$(CONFIG_MACH_E400)		+= e400.o
obj-$(CONFIG_MACH_E800)		+= e800.o
60
obj-$(CONFIG_MACH_PALMTE2)	+= palmte2.o
M
Marek Vasut 已提交
61
obj-$(CONFIG_MACH_PALMT5)	+= palmt5.o
R
Russell King 已提交
62
obj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
M
Marek Vasut 已提交
63
obj-$(CONFIG_MACH_PALMLD)	+= palmld.o
64
obj-$(CONFIG_MACH_PALMZ72)	+= palmz72.o
65
obj-$(CONFIG_ARCH_VIPER)	+= viper.o
L
Linus Torvalds 已提交
66

E
eric miao 已提交
67 68 69 70 71
ifeq ($(CONFIG_MACH_ZYLONITE),y)
  obj-y				+= zylonite.o
  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
endif
72
obj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
73
obj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
74
obj-$(CONFIG_MACH_SAAR)		+= saar.o
E
eric miao 已提交
75

76
obj-$(CONFIG_MACH_ARMCORE)      += cm-x2xx.o cm-x255.o cm-x270.o
77
obj-$(CONFIG_MACH_CM_X300)      += cm-x300.o
78
obj-$(CONFIG_PXA_EZX)           += ezx.o
79

80
obj-$(CONFIG_MACH_INTELMOTE2)   += imote2.o
81
obj-$(CONFIG_MACH_STARGATE2)	+= stargate2.o
82
obj-$(CONFIG_MACH_CSB726)	+= csb726.o
83
obj-$(CONFIG_CSB726_CSB701)	+= csb701.o
84

L
Linus Torvalds 已提交
85 86
# Support for blinky lights
led-y := leds.o
87 88 89
led-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
led-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
led-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
L
Linus Torvalds 已提交
90

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

93
ifeq ($(CONFIG_PCI),y)
94
obj-$(CONFIG_MACH_ARMCORE) += cm-x2xx-pci.o
95
endif
96 97

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