blob: cc39d17b2e078e288231952a606828a9801a7ad5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the linux kernel.
3#
4
5# Common support (must be linked before board specific support)
Eric Miaobd5ce432009-01-20 12:06:01 +08006obj-y += clock.o devices.o generic.o irq.o \
Eric Miao38f539a2009-01-20 12:09:06 +08007 time.o reset.o
Dmitry Baryshkov5bf6c6e2008-05-09 08:56:54 +01008obj-$(CONFIG_PM) += pm.o sleep.o standby.o
Eric Miao0d1bde92008-08-06 15:51:53 +08009
10ifeq ($(CONFIG_CPU_FREQ),y)
11obj-$(CONFIG_PXA25x) += cpufreq-pxa2xx.o
12obj-$(CONFIG_PXA27x) += cpufreq-pxa2xx.o
Eric Miao4f788bb2008-08-06 15:59:06 +080013obj-$(CONFIG_PXA3xx) += cpufreq-pxa3xx.o
Eric Miao0d1bde92008-08-06 15:51:53 +080014endif
Dmitry Baryshkov5bf6c6e2008-05-09 08:56:54 +010015
16# Generic drivers that other drivers may depend upon
Dmitry Baryshkov5bf6c6e2008-05-09 08:56:54 +010017
18# SoC-specific code
Eric Miao40298132010-11-22 10:49:55 +080019obj-$(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
Haojian Zhuanga4553352010-11-24 11:54:19 +080022obj-$(CONFIG_PXA95x) += mfp-pxa3xx.o clock-pxa3xx.o pxa95x.o smemc.o
eric miao2c8086a2007-09-11 19:13:17 -070023obj-$(CONFIG_CPU_PXA300) += pxa300.o
24obj-$(CONFIG_CPU_PXA320) += pxa320.o
Eric Miao5d31e432008-07-11 12:45:39 +080025obj-$(CONFIG_CPU_PXA930) += pxa930.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
Eric Miaode0710a2009-10-12 09:32:07 +080027# NOTE: keep the order of boards in accordance to their order in Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
Eric Miaode0710a2009-10-12 09:32:07 +080029# Intel/Marvell Dev Platforms
30obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o
31obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o
Eric Miao1493df72009-11-09 14:25:52 +080032obj-$(CONFIG_MACH_ZYLONITE300) += zylonite.o zylonite_pxa300.o
33obj-$(CONFIG_MACH_ZYLONITE320) += zylonite.o zylonite_pxa320.o
eric miaoe1d9b952007-12-13 10:41:43 +080034obj-$(CONFIG_MACH_LITTLETON) += littleton.o
Eric Miaobae03312008-07-11 12:59:38 +080035obj-$(CONFIG_MACH_TAVOREVB) += tavorevb.o
Haojian Zhuang20266df2010-09-08 09:42:40 -040036obj-$(CONFIG_MACH_TAVOREVB3) += tavorevb3.o
Eric Miaofaf64ed2008-07-11 14:02:20 +080037obj-$(CONFIG_MACH_SAAR) += saar.o
Haojian Zhuangc9b5ef42010-11-24 11:54:20 +080038obj-$(CONFIG_MACH_SAARB) += saarb.o
eric miao2c8086a2007-09-11 19:13:17 -070039
Eric Miaode0710a2009-10-12 09:32:07 +080040# 3rd Party Dev Platforms
41obj-$(CONFIG_ARCH_PXA_IDP) += idp.o
42obj-$(CONFIG_ARCH_VIPER) += viper.o
Marc Zyngiere491a112009-11-14 13:47:03 +010043obj-$(CONFIG_MACH_ARCOM_ZEUS) += zeus.o
Eric Miaode0710a2009-10-12 09:32:07 +080044obj-$(CONFIG_MACH_BALLOON3) += balloon3.o
Dmitry Eremin-Solenikovaac42972009-02-16 20:40:55 +030045obj-$(CONFIG_MACH_CSB726) += csb726.o
Dmitry Eremin-Solenikov3b31fab2009-02-16 20:40:57 +030046obj-$(CONFIG_CSB726_CSB701) += csb701.o
Eric Miaode0710a2009-10-12 09:32:07 +080047obj-$(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
Edwin Peer1f3b5362010-02-05 18:31:48 +020053obj-$(CONFIG_MACH_CAPC7117) += capc7117.o mxm8x10.o
Eric Miaode0710a2009-10-12 09:32:07 +080054obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o
55obj-$(CONFIG_GUMSTIX_AM200EPD) += am200epd.o
56obj-$(CONFIG_GUMSTIX_AM300EPD) += am300epd.o
Jonathan Camerondcd925f2010-06-06 14:55:02 +010057obj-$(CONFIG_MACH_INTELMOTE2) += stargate2.o
Eric Miaode0710a2009-10-12 09:32:07 +080058obj-$(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
Daniel Mack4c243c82010-05-22 00:29:38 +020064obj-$(CONFIG_MACH_COLIBRI) += colibri-pxa270.o
Marek Vasuta3172e52010-08-12 01:45:05 +020065obj-$(CONFIG_MACH_COLIBRI_EVALBOARD) += colibri-evalboard.o
Marek Vasut403d2972010-05-22 00:29:39 +020066obj-$(CONFIG_MACH_COLIBRI_PXA270_INCOME) += colibri-pxa270-income.o
Eric Miaode0710a2009-10-12 09:32:07 +080067obj-$(CONFIG_MACH_COLIBRI300) += colibri-pxa3xx.o colibri-pxa300.o
68obj-$(CONFIG_MACH_COLIBRI320) += colibri-pxa3xx.o colibri-pxa320.o
Marek543cd842010-03-09 04:04:12 +010069obj-$(CONFIG_MACH_VPAC270) += vpac270.o
Eric Miaode0710a2009-10-12 09:32:07 +080070
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
Marek Vasut95045942010-07-13 14:08:57 +020081obj-$(CONFIG_MACH_PALM27X) += palm27x.o
Eric Miaode0710a2009-10-12 09:32:07 +080082obj-$(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
Eric Miaode0710a2009-10-12 09:32:07 +080089obj-$(CONFIG_MACH_POODLE) += poodle.o
90obj-$(CONFIG_MACH_TOSA) += tosa.o
Edwin Peer1f3b5362010-02-05 18:31:48 +020091obj-$(CONFIG_MACH_ICONTROL) += icontrol.o mxm8x10.o
Eric Miaode0710a2009-10-12 09:32:07 +080092obj-$(CONFIG_ARCH_PXA_ESERIES) += eseries.o
Daniel Mack550ee522009-11-27 13:47:09 +010093obj-$(CONFIG_MACH_RAUMFELD_RC) += raumfeld.o
94obj-$(CONFIG_MACH_RAUMFELD_CONNECTOR) += raumfeld.o
95obj-$(CONFIG_MACH_RAUMFELD_SPEAKER) += raumfeld.o
Marek Vasutb6377992010-02-28 12:41:23 +010096obj-$(CONFIG_MACH_ZIPIT2) += z2.o
Jonathan Cameronb6795fa2008-12-12 20:43:09 +000097
Linus Torvalds1da177e2005-04-16 15:20:36 -070098# Support for blinky lights
99led-y := leds.o
Russell Kinga06748a2007-09-19 09:21:51 +0100100led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o
101led-$(CONFIG_MACH_MAINSTONE) += leds-mainstone.o
102led-$(CONFIG_ARCH_PXA_IDP) += leds-idp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103
Russell Kinga06748a2007-09-19 09:21:51 +0100104obj-$(CONFIG_LEDS) += $(led-y)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105
Dmitry Baryshkov16b32fd2008-07-05 09:02:48 +0100106obj-$(CONFIG_TOSA_BT) += tosa-bt.o