xref: /linux/arch/arm/mach-pxa/Makefile (revision 367b8112fe2ea5c39a7bb4d263dcdd9b612fae18)
1#
2# Makefile for the linux kernel.
3#
4
5# Common support (must be linked before board specific support)
6obj-y				+= clock.o devices.o generic.o irq.o dma.o \
7				   time.o gpio.o reset.o
8obj-$(CONFIG_PM)		+= pm.o sleep.o standby.o
9
10ifeq ($(CONFIG_CPU_FREQ),y)
11obj-$(CONFIG_PXA25x)		+= cpufreq-pxa2xx.o
12obj-$(CONFIG_PXA27x)		+= cpufreq-pxa2xx.o
13obj-$(CONFIG_PXA3xx)		+= cpufreq-pxa3xx.o
14endif
15
16# Generic drivers that other drivers may depend upon
17obj-$(CONFIG_PXA_SSP)		+= ssp.o
18obj-$(CONFIG_PXA_PWM)		+= pwm.o
19
20# SoC-specific code
21obj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o pxa2xx.o pxa25x.o
22obj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o pxa2xx.o pxa27x.o
23obj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o pxa3xx.o smemc.o
24obj-$(CONFIG_CPU_PXA300)	+= pxa300.o
25obj-$(CONFIG_CPU_PXA320)	+= pxa320.o
26obj-$(CONFIG_CPU_PXA930)	+= pxa930.o
27
28# Specific board support
29obj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
30obj-$(CONFIG_MACH_AM200EPD)	+= am200epd.o
31obj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
32obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
33obj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
34obj-$(CONFIG_MACH_MP900C)	+= mp900.o
35obj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
36obj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
37obj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
38obj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o sharpsl_pm.o corgi_pm.o
39obj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o sharpsl_pm.o spitz_pm.o
40obj-$(CONFIG_CORGI_SSP_DEPRECATED)	+= corgi_ssp.o corgi_lcd.o
41obj-$(CONFIG_MACH_POODLE)	+= poodle.o
42obj-$(CONFIG_MACH_PCM027)	+= pcm027.o
43obj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
44obj-$(CONFIG_MACH_TOSA)		+= tosa.o
45obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
46obj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
47obj-$(CONFIG_MACH_MIOA701)	+= mioa701.o mioa701_bootresume.o
48obj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
49obj-$(CONFIG_MACH_E330)		+= e330.o
50obj-$(CONFIG_MACH_E350)		+= e350.o
51obj-$(CONFIG_MACH_E740)		+= e740.o
52obj-$(CONFIG_MACH_E750)		+= e750.o
53obj-$(CONFIG_MACH_E400)		+= e400.o
54obj-$(CONFIG_MACH_E800)		+= e800.o
55obj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
56obj-$(CONFIG_MACH_PALMZ72)	+= palmz72.o
57obj-$(CONFIG_ARCH_VIPER)	+= viper.o
58
59ifeq ($(CONFIG_MACH_ZYLONITE),y)
60  obj-y				+= zylonite.o
61  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
62  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
63endif
64obj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
65obj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
66obj-$(CONFIG_MACH_SAAR)		+= saar.o
67
68obj-$(CONFIG_MACH_ARMCORE)      += cm-x2xx.o cm-x255.o cm-x270.o
69obj-$(CONFIG_MACH_CM_X300)      += cm-x300.o
70obj-$(CONFIG_PXA_EZX)           += ezx.o
71
72# Support for blinky lights
73led-y := leds.o
74led-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
75led-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
76led-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
77
78obj-$(CONFIG_LEDS)		+= $(led-y)
79
80ifeq ($(CONFIG_PCI),y)
81obj-$(CONFIG_MACH_ARMCORE) += cm-x2xx-pci.o
82endif
83
84obj-$(CONFIG_TOSA_BT)		+= tosa-bt.o
85