xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision 16b32fd0)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvalds# Common support (must be linked before board specific support)
61c44f5f1SPhilipp Zabelobj-y				+= clock.o devices.o generic.o irq.o dma.o \
775f10b46SDmitry Baryshkov				   time.o gpio.o reset.o
85bf6c6e3SDmitry Baryshkovobj-$(CONFIG_PM)		+= pm.o sleep.o standby.o
95bf6c6e3SDmitry Baryshkovobj-$(CONFIG_CPU_FREQ)		+= cpu-pxa.o
105bf6c6e3SDmitry Baryshkov
115bf6c6e3SDmitry Baryshkov# Generic drivers that other drivers may depend upon
125bf6c6e3SDmitry Baryshkovobj-$(CONFIG_PXA_SSP)		+= ssp.o
135bf6c6e3SDmitry Baryshkov
145bf6c6e3SDmitry Baryshkov# SoC-specific code
157883938bSRussell Kingobj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o pxa25x.o
167883938bSRussell Kingobj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o pxa27x.o
177883938bSRussell Kingobj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o pxa3xx.o smemc.o
182c8086a5Seric miaoobj-$(CONFIG_CPU_PXA300)	+= pxa300.o
192c8086a5Seric miaoobj-$(CONFIG_CPU_PXA320)	+= pxa320.o
201da177e4SLinus Torvalds
211da177e4SLinus Torvalds# Specific board support
2290b8fc34SJaya Kumarobj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
231da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
24e9937d4bSLennert Buytenhekobj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
251da177e4SLinus Torvaldsobj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
261da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
27326764a8SJürgen Schindeleobj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
284e4fc05aSDaniel Mackobj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
29d72f25b0SRichard Purdieobj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o corgi_pm.o
30e8b6f7f4SRichard Purdieobj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o spitz_pm.o
31bd5d080aSRichard Purdieobj-$(CONFIG_MACH_AKITA)	+= akita-ioexp.o
32faed5684SRichard Purdieobj-$(CONFIG_MACH_POODLE)	+= poodle.o corgi_ssp.o
3334e31d87SRobert Schwebelobj-$(CONFIG_MACH_PCM027)	+= pcm027.o
342e927b76SRobert Schwebelobj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
358459c159SDirk Opferobj-$(CONFIG_MACH_TOSA)		+= tosa.o
363d50527bSMike Rapoportobj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
37e5c271ecSPhilipp Zabelobj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
383abcd199SIan Moltonobj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
391da177e4SLinus Torvalds
402c8086a5Seric miaoifeq ($(CONFIG_MACH_ZYLONITE),y)
412c8086a5Seric miao  obj-y				+= zylonite.o
422c8086a5Seric miao  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
432c8086a5Seric miao  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
442c8086a5Seric miaoendif
45e1d9b953Seric miaoobj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
462c8086a5Seric miao
473696a8a4SMike Rapoportobj-$(CONFIG_MACH_ARMCORE)      += cm-x270.o
483696a8a4SMike Rapoport
491da177e4SLinus Torvalds# Support for blinky lights
501da177e4SLinus Torvaldsled-y := leds.o
511da177e4SLinus Torvaldsled-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
521da177e4SLinus Torvaldsled-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
531da177e4SLinus Torvaldsled-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
54326764a8SJürgen Schindeleled-$(CONFIG_MACH_TRIZEPS4)	+= leds-trizeps4.o
551da177e4SLinus Torvalds
561da177e4SLinus Torvaldsobj-$(CONFIG_LEDS)		+= $(led-y)
571da177e4SLinus Torvalds
583696a8a4SMike Rapoportifeq ($(CONFIG_PCI),y)
593696a8a4SMike Rapoportobj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o
603696a8a4SMike Rapoportendif
6116b32fd0SDmitry Baryshkov
6216b32fd0SDmitry Baryshkovobj-$(CONFIG_TOSA_BT)		+= tosa-bt.o
63