xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision b5e4ad57)
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 \
71c44f5f1SPhilipp Zabel				   time.o gpio.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
1375540c1aSeric miaoobj-$(CONFIG_PXA_PWM)		+= pwm.o
145bf6c6e3SDmitry Baryshkov
155bf6c6e3SDmitry Baryshkov# SoC-specific code
16918dbcbaSDmitry Baryshkovobj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o pxa2xx.o pxa25x.o
17918dbcbaSDmitry Baryshkovobj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o pxa2xx.o pxa27x.o
187883938bSRussell Kingobj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o pxa3xx.o smemc.o
192c8086a5Seric miaoobj-$(CONFIG_CPU_PXA300)	+= pxa300.o
202c8086a5Seric miaoobj-$(CONFIG_CPU_PXA320)	+= pxa320.o
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds# Specific board support
2390b8fc34SJaya Kumarobj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
241da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
25e9937d4bSLennert Buytenhekobj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
261da177e4SLinus Torvaldsobj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
271da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
28326764a8SJürgen Schindeleobj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
294e4fc05aSDaniel Mackobj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
30d72f25b0SRichard Purdieobj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o corgi_pm.o
31e8b6f7f4SRichard Purdieobj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o spitz_pm.o
32bd5d080aSRichard Purdieobj-$(CONFIG_MACH_AKITA)	+= akita-ioexp.o
33faed5684SRichard Purdieobj-$(CONFIG_MACH_POODLE)	+= poodle.o corgi_ssp.o
3434e31d87SRobert Schwebelobj-$(CONFIG_MACH_PCM027)	+= pcm027.o
352e927b76SRobert Schwebelobj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
368459c159SDirk Opferobj-$(CONFIG_MACH_TOSA)		+= tosa.o
373d50527bSMike Rapoportobj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
38e5c271ecSPhilipp Zabelobj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
393abcd199SIan Moltonobj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
40b5e4ad57SMarek Vašutobj-$(CONFIG_MACH_PALMTX)+= palmtx.o
411da177e4SLinus Torvalds
422c8086a5Seric miaoifeq ($(CONFIG_MACH_ZYLONITE),y)
432c8086a5Seric miao  obj-y				+= zylonite.o
442c8086a5Seric miao  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
452c8086a5Seric miao  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
462c8086a5Seric miaoendif
47e1d9b953Seric miaoobj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
482c8086a5Seric miao
493696a8a4SMike Rapoportobj-$(CONFIG_MACH_ARMCORE)      += cm-x270.o
503696a8a4SMike Rapoport
511da177e4SLinus Torvalds# Support for blinky lights
521da177e4SLinus Torvaldsled-y := leds.o
531da177e4SLinus Torvaldsled-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
541da177e4SLinus Torvaldsled-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
551da177e4SLinus Torvaldsled-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
56326764a8SJürgen Schindeleled-$(CONFIG_MACH_TRIZEPS4)	+= leds-trizeps4.o
571da177e4SLinus Torvalds
581da177e4SLinus Torvaldsobj-$(CONFIG_LEDS)		+= $(led-y)
591da177e4SLinus Torvalds
603696a8a4SMike Rapoportifeq ($(CONFIG_PCI),y)
613696a8a4SMike Rapoportobj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o
623696a8a4SMike Rapoportendif
63