xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision 63dc02bd)
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 \
7				   time.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
17
18# SoC-specific code
19obj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o clock-pxa2xx.o pxa2xx.o pxa25x.o
20obj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o clock-pxa2xx.o pxa2xx.o pxa27x.o
21obj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o clock-pxa3xx.o pxa3xx.o smemc.o pxa3xx-ulpi.o
22obj-$(CONFIG_PXA95x)		+= mfp-pxa3xx.o clock-pxa3xx.o pxa3xx.o pxa95x.o smemc.o
23obj-$(CONFIG_CPU_PXA300)	+= pxa300.o
24obj-$(CONFIG_CPU_PXA320)	+= pxa320.o
25obj-$(CONFIG_CPU_PXA930)	+= pxa930.o
26
27# NOTE: keep the order of boards in accordance to their order in Kconfig
28
29# Intel/Marvell Dev Platforms
30obj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
31obj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
32obj-$(CONFIG_MACH_ZYLONITE300)	+= zylonite.o zylonite_pxa300.o
33obj-$(CONFIG_MACH_ZYLONITE320)	+= zylonite.o zylonite_pxa320.o
34obj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
35obj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
36obj-$(CONFIG_MACH_TAVOREVB3)	+= tavorevb3.o
37obj-$(CONFIG_MACH_SAAR)		+= saar.o
38obj-$(CONFIG_MACH_SAARB)	+= saarb.o
39
40# 3rd Party Dev Platforms
41obj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
42obj-$(CONFIG_ARCH_VIPER)	+= viper.o
43obj-$(CONFIG_MACH_ARCOM_ZEUS)	+= zeus.o
44obj-$(CONFIG_MACH_BALLOON3)	+= balloon3.o
45obj-$(CONFIG_MACH_CSB726)	+= csb726.o
46obj-$(CONFIG_CSB726_CSB701)	+= csb701.o
47obj-$(CONFIG_MACH_ARMCORE)      += cm-x2xx.o cm-x255.o cm-x270.o
48ifeq ($(CONFIG_PCI),y)
49obj-$(CONFIG_MACH_ARMCORE)	+= cm-x2xx-pci.o
50endif
51obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
52obj-$(CONFIG_MACH_CM_X300)      += cm-x300.o
53obj-$(CONFIG_MACH_CAPC7117)     += capc7117.o mxm8x10.o
54obj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
55obj-$(CONFIG_GUMSTIX_AM200EPD)	+= am200epd.o
56obj-$(CONFIG_GUMSTIX_AM300EPD)	+= am300epd.o
57obj-$(CONFIG_MACH_INTELMOTE2)	+= stargate2.o
58obj-$(CONFIG_MACH_STARGATE2)	+= stargate2.o
59obj-$(CONFIG_MACH_XCEP)         += xcep.o
60obj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
61obj-$(CONFIG_MACH_LOGICPD_PXA270)	+= lpd270.o
62obj-$(CONFIG_MACH_PCM027)		+= pcm027.o
63obj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
64obj-$(CONFIG_MACH_COLIBRI)			+= colibri-pxa270.o
65obj-$(CONFIG_MACH_COLIBRI_EVALBOARD)	+= colibri-evalboard.o
66obj-$(CONFIG_MACH_COLIBRI_PXA270_INCOME)	+= colibri-pxa270-income.o
67obj-$(CONFIG_MACH_COLIBRI300)	+= colibri-pxa3xx.o colibri-pxa300.o
68obj-$(CONFIG_MACH_COLIBRI320)	+= colibri-pxa3xx.o colibri-pxa320.o
69obj-$(CONFIG_MACH_VPAC270)	+= vpac270.o
70
71# End-user Products
72obj-$(CONFIG_MACH_H4700)	+= hx4700.o
73obj-$(CONFIG_MACH_H5000)	+= h5000.o
74obj-$(CONFIG_MACH_HIMALAYA)	+= himalaya.o
75obj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
76obj-$(CONFIG_MACH_MIOA701)	+= mioa701.o mioa701_bootresume.o
77obj-$(CONFIG_PXA_EZX)           += ezx.o
78obj-$(CONFIG_MACH_MP900C)	+= mp900.o
79obj-$(CONFIG_MACH_PALMTE2)	+= palmte2.o
80obj-$(CONFIG_MACH_PALMTC)	+= palmtc.o
81obj-$(CONFIG_MACH_PALM27X)	+= palm27x.o
82obj-$(CONFIG_MACH_PALMT5)	+= palmt5.o
83obj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
84obj-$(CONFIG_MACH_PALMZ72)	+= palmz72.o
85obj-$(CONFIG_MACH_PALMLD)	+= palmld.o
86obj-$(CONFIG_PALM_TREO)		+= palmtreo.o
87obj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o sharpsl_pm.o corgi_pm.o
88obj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o sharpsl_pm.o spitz_pm.o
89obj-$(CONFIG_MACH_POODLE)	+= poodle.o
90obj-$(CONFIG_MACH_TOSA)		+= tosa.o
91obj-$(CONFIG_MACH_ICONTROL)     += icontrol.o mxm8x10.o
92obj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
93obj-$(CONFIG_MACH_RAUMFELD_RC)		+= raumfeld.o
94obj-$(CONFIG_MACH_RAUMFELD_CONNECTOR)	+= raumfeld.o
95obj-$(CONFIG_MACH_RAUMFELD_SPEAKER)	+= raumfeld.o
96obj-$(CONFIG_MACH_ZIPIT2)	+= z2.o
97
98# Support for blinky lights
99led-y := leds.o
100led-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
101led-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
102led-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
103
104obj-$(CONFIG_LEDS)		+= $(led-y)
105
106obj-$(CONFIG_TOSA_BT)		+= tosa-bt.o
107