xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision 22246614)
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
8obj-$(CONFIG_PM)		+= pm.o sleep.o standby.o
9obj-$(CONFIG_CPU_FREQ)		+= cpu-pxa.o
10
11# Generic drivers that other drivers may depend upon
12obj-$(CONFIG_PXA_SSP)		+= ssp.o
13
14# SoC-specific code
15obj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o pxa25x.o
16obj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o pxa27x.o
17obj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o pxa3xx.o smemc.o
18obj-$(CONFIG_CPU_PXA300)	+= pxa300.o
19obj-$(CONFIG_CPU_PXA320)	+= pxa320.o
20
21# Specific board support
22obj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
23obj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
24obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
25obj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
26obj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
27obj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
28obj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
29obj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o corgi_pm.o
30obj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o spitz_pm.o
31obj-$(CONFIG_MACH_AKITA)	+= akita-ioexp.o
32obj-$(CONFIG_MACH_POODLE)	+= poodle.o corgi_ssp.o
33obj-$(CONFIG_MACH_PCM027)	+= pcm027.o
34obj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
35obj-$(CONFIG_MACH_TOSA)		+= tosa.o
36obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
37obj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
38obj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
39
40ifeq ($(CONFIG_MACH_ZYLONITE),y)
41  obj-y				+= zylonite.o
42  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
43  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
44endif
45obj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
46
47obj-$(CONFIG_MACH_ARMCORE)      += cm-x270.o
48
49# Support for blinky lights
50led-y := leds.o
51led-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
52led-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
53led-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
54led-$(CONFIG_MACH_TRIZEPS4)	+= leds-trizeps4.o
55
56obj-$(CONFIG_LEDS)		+= $(led-y)
57
58ifeq ($(CONFIG_PCI),y)
59obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o
60endif
61