blob: d4c6122a342f1ff7e266581c372da9ae3ee0f31a [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
17obj-$(CONFIG_PXA_SSP) += ssp.o
18
19# SoC-specific code
Dmitry Baryshkov918dbcb2008-07-02 13:53:45 +010020obj-$(CONFIG_PXA25x) += mfp-pxa2xx.o pxa2xx.o pxa25x.o
21obj-$(CONFIG_PXA27x) += mfp-pxa2xx.o pxa2xx.o pxa27x.o
Russell King78839382008-04-29 21:28:03 +010022obj-$(CONFIG_PXA3xx) += mfp-pxa3xx.o pxa3xx.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
27# Specific board support
Jaya Kumar90b8fc32008-03-15 05:11:07 +010028obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o
Jaya Kumar3332b0c2008-12-09 22:14:29 +080029obj-$(CONFIG_GUMSTIX_AM200EPD) += am200epd.o
Jaya Kumar4ce255c2009-01-01 17:51:01 +010030obj-$(CONFIG_GUMSTIX_AM300EPD) += am300epd.o
Russell Kinga06748a2007-09-19 09:21:51 +010031obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o
Lennert Buytenheke9937d42006-03-28 21:08:13 +010032obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
Russell Kinga06748a2007-09-19 09:21:51 +010033obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o
Kristoffer Ericson49ea26d02008-10-02 20:15:35 +010034obj-$(CONFIG_MACH_MP900C) += mp900.o
Russell Kinga06748a2007-09-19 09:21:51 +010035obj-$(CONFIG_ARCH_PXA_IDP) += idp.o
Jürgen Schindele326764a2006-06-29 16:01:43 +010036obj-$(CONFIG_MACH_TRIZEPS4) += trizeps4.o
Daniel Mack5c0dbb82009-03-13 16:37:08 +010037obj-$(CONFIG_MACH_COLIBRI) += colibri-pxa270.o
Daniel Mackacb36552009-03-23 02:04:17 +010038obj-$(CONFIG_MACH_COLIBRI300) += colibri-pxa3xx.o colibri-pxa300.o
Daniel Mackbac07ec2009-03-23 02:04:18 +010039obj-$(CONFIG_MACH_COLIBRI320) += colibri-pxa3xx.o colibri-pxa320.o
Anton Vorontsovbc2fd1c2008-10-23 21:06:56 +020040obj-$(CONFIG_MACH_H5000) += h5000.o
Eric Miaoedb403f2008-08-29 08:09:48 +080041obj-$(CONFIG_PXA_SHARP_C7xx) += corgi.o sharpsl_pm.o corgi_pm.o
Eric Miao859b7962008-09-03 12:09:24 +080042obj-$(CONFIG_PXA_SHARP_Cxx00) += spitz.o sharpsl_pm.o spitz_pm.o
Eric Miao45e2a9b2008-10-21 11:36:19 +080043obj-$(CONFIG_CORGI_SSP_DEPRECATED) += corgi_ssp.o corgi_lcd.o
Eric Miao9ee40d92008-08-24 05:32:15 -040044obj-$(CONFIG_MACH_POODLE) += poodle.o
Robert Schwebel34e31d82008-01-08 08:44:23 +010045obj-$(CONFIG_MACH_PCM027) += pcm027.o
Robert Schwebel2e927b72008-01-08 08:52:04 +010046obj-$(CONFIG_MACH_PCM990_BASEBOARD) += pcm990-baseboard.o
Russell Kinga06748a2007-09-19 09:21:51 +010047obj-$(CONFIG_MACH_TOSA) += tosa.o
48obj-$(CONFIG_MACH_EM_X270) += em-x270.o
Philipp Zabeld3ca1952009-05-28 07:05:18 +020049obj-$(CONFIG_MACH_H4700) += hx4700.o
Philipp Zabele5c271e2007-11-22 17:59:11 +010050obj-$(CONFIG_MACH_MAGICIAN) += magician.o
Zbynek Michlb7eb1a52009-01-02 00:26:13 +010051obj-$(CONFIG_MACH_HIMALAYA) += himalaya.o
Robert Jarzmikeda6f6e2008-08-17 09:34:30 +010052obj-$(CONFIG_MACH_MIOA701) += mioa701.o mioa701_bootresume.o
Russell Kingcc513ac2008-10-07 19:08:32 +010053obj-$(CONFIG_ARCH_PXA_ESERIES) += eseries.o
54obj-$(CONFIG_MACH_E330) += e330.o
55obj-$(CONFIG_MACH_E350) += e350.o
56obj-$(CONFIG_MACH_E740) += e740.o
57obj-$(CONFIG_MACH_E750) += e750.o
58obj-$(CONFIG_MACH_E400) += e400.o
59obj-$(CONFIG_MACH_E800) += e800.o
Marek Vasut54088bf2009-03-24 00:29:29 +010060obj-$(CONFIG_MACH_PALMTE2) += palmte2.o
Marek Vasut0f6ff0f2008-11-20 00:58:38 +010061obj-$(CONFIG_MACH_PALMT5) += palmt5.o
Russell King5a58d4b2008-07-12 21:43:36 +010062obj-$(CONFIG_MACH_PALMTX) += palmtx.o
Marek Vasuta6450722008-11-20 22:50:46 +010063obj-$(CONFIG_MACH_PALMLD) += palmld.o
Sergey Lapinc49e1e62008-08-29 15:47:52 +010064obj-$(CONFIG_MACH_PALMZ72) += palmz72.o
Tomas 'Sleep_Walker' Ceche6c3f4b2009-05-18 15:24:14 +020065obj-$(CONFIG_MACH_TREO680) += treo680.o
Marc Zyngier352699a2008-08-14 17:20:31 +020066obj-$(CONFIG_ARCH_VIPER) += viper.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070067
eric miao2c8086a2007-09-11 19:13:17 -070068ifeq ($(CONFIG_MACH_ZYLONITE),y)
69 obj-y += zylonite.o
70 obj-$(CONFIG_CPU_PXA300) += zylonite_pxa300.o
71 obj-$(CONFIG_CPU_PXA320) += zylonite_pxa320.o
72endif
eric miaoe1d9b952007-12-13 10:41:43 +080073obj-$(CONFIG_MACH_LITTLETON) += littleton.o
Eric Miaobae03312008-07-11 12:59:38 +080074obj-$(CONFIG_MACH_TAVOREVB) += tavorevb.o
Eric Miaofaf64ed2008-07-11 14:02:20 +080075obj-$(CONFIG_MACH_SAAR) += saar.o
eric miao2c8086a2007-09-11 19:13:17 -070076
Mike Rapoporta7f3f032008-10-05 10:26:55 +010077obj-$(CONFIG_MACH_ARMCORE) += cm-x2xx.o cm-x255.o cm-x270.o
Mike Rapoportcf75d8d2008-08-26 14:03:44 +010078obj-$(CONFIG_MACH_CM_X300) += cm-x300.o
Stefan Schmidt9ab24e42008-07-09 08:08:17 +010079obj-$(CONFIG_PXA_EZX) += ezx.o
Mike Rapoport3696a8a2007-09-23 15:59:26 +010080
Jonathan Cameronb6795fa2008-12-12 20:43:09 +000081obj-$(CONFIG_MACH_INTELMOTE2) += imote2.o
Jonathan Cameron4036e1d2009-05-16 18:20:39 +000082obj-$(CONFIG_MACH_STARGATE2) += stargate2.o
Dmitry Eremin-Solenikovaac42972009-02-16 20:40:55 +030083obj-$(CONFIG_MACH_CSB726) += csb726.o
Dmitry Eremin-Solenikov3b31fab2009-02-16 20:40:57 +030084obj-$(CONFIG_CSB726_CSB701) += csb701.o
Jonathan Cameronb6795fa2008-12-12 20:43:09 +000085
Linus Torvalds1da177e2005-04-16 15:20:36 -070086# Support for blinky lights
87led-y := leds.o
Russell Kinga06748a2007-09-19 09:21:51 +010088led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o
89led-$(CONFIG_MACH_MAINSTONE) += leds-mainstone.o
90led-$(CONFIG_ARCH_PXA_IDP) += leds-idp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070091
Russell Kinga06748a2007-09-19 09:21:51 +010092obj-$(CONFIG_LEDS) += $(led-y)
Linus Torvalds1da177e2005-04-16 15:20:36 -070093
Mike Rapoport3696a8a2007-09-23 15:59:26 +010094ifeq ($(CONFIG_PCI),y)
Mike Rapoport7d76e3f2008-10-07 11:58:25 +010095obj-$(CONFIG_MACH_ARMCORE) += cm-x2xx-pci.o
Mike Rapoport3696a8a2007-09-23 15:59:26 +010096endif
Dmitry Baryshkov16b32fd2008-07-05 09:02:48 +010097
98obj-$(CONFIG_TOSA_BT) += tosa-bt.o