blob: d64c68b232e3ff8265b9c52df59863b2423004b0 [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)
Philipp Zabel1c44f5f2008-02-04 22:28:22 -08006obj-y += clock.o devices.o generic.o irq.o dma.o \
Dmitry Baryshkov75f10b42008-05-22 16:20:18 +01007 time.o gpio.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
eric miao75540c12008-04-13 21:44:04 +010018obj-$(CONFIG_PXA_PWM) += pwm.o
Dmitry Baryshkov5bf6c6e2008-05-09 08:56:54 +010019
20# SoC-specific code
Dmitry Baryshkov918dbcb2008-07-02 13:53:45 +010021obj-$(CONFIG_PXA25x) += mfp-pxa2xx.o pxa2xx.o pxa25x.o
22obj-$(CONFIG_PXA27x) += mfp-pxa2xx.o pxa2xx.o pxa27x.o
Russell King78839382008-04-29 21:28:03 +010023obj-$(CONFIG_PXA3xx) += mfp-pxa3xx.o pxa3xx.o smemc.o
eric miao2c8086a2007-09-11 19:13:17 -070024obj-$(CONFIG_CPU_PXA300) += pxa300.o
25obj-$(CONFIG_CPU_PXA320) += pxa320.o
Eric Miao5d31e432008-07-11 12:45:39 +080026obj-$(CONFIG_CPU_PXA930) += pxa930.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
28# Specific board support
Jaya Kumar90b8fc32008-03-15 05:11:07 +010029obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o
Jaya Kumar92261342008-08-17 05:59:32 +010030obj-$(CONFIG_MACH_AM200EPD) += am200epd.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 Mack4e4fc052008-01-23 14:54:50 +010037obj-$(CONFIG_MACH_COLIBRI) += colibri.o
Eric Miaoedb403f2008-08-29 08:09:48 +080038obj-$(CONFIG_PXA_SHARP_C7xx) += corgi.o sharpsl_pm.o corgi_pm.o
Eric Miao859b7962008-09-03 12:09:24 +080039obj-$(CONFIG_PXA_SHARP_Cxx00) += spitz.o sharpsl_pm.o spitz_pm.o
Eric Miao45e2a9b2008-10-21 11:36:19 +080040obj-$(CONFIG_CORGI_SSP_DEPRECATED) += corgi_ssp.o corgi_lcd.o
Eric Miao9ee40d92008-08-24 05:32:15 -040041obj-$(CONFIG_MACH_POODLE) += poodle.o
Robert Schwebel34e31d82008-01-08 08:44:23 +010042obj-$(CONFIG_MACH_PCM027) += pcm027.o
Robert Schwebel2e927b72008-01-08 08:52:04 +010043obj-$(CONFIG_MACH_PCM990_BASEBOARD) += pcm990-baseboard.o
Russell Kinga06748a2007-09-19 09:21:51 +010044obj-$(CONFIG_MACH_TOSA) += tosa.o
45obj-$(CONFIG_MACH_EM_X270) += em-x270.o
Philipp Zabele5c271e2007-11-22 17:59:11 +010046obj-$(CONFIG_MACH_MAGICIAN) += magician.o
Robert Jarzmikeda6f6e2008-08-17 09:34:30 +010047obj-$(CONFIG_MACH_MIOA701) += mioa701.o mioa701_bootresume.o
Russell Kingcc513ac2008-10-07 19:08:32 +010048obj-$(CONFIG_ARCH_PXA_ESERIES) += eseries.o
49obj-$(CONFIG_MACH_E330) += e330.o
50obj-$(CONFIG_MACH_E350) += e350.o
51obj-$(CONFIG_MACH_E740) += e740.o
52obj-$(CONFIG_MACH_E750) += e750.o
53obj-$(CONFIG_MACH_E400) += e400.o
54obj-$(CONFIG_MACH_E800) += e800.o
Russell King5a58d4b2008-07-12 21:43:36 +010055obj-$(CONFIG_MACH_PALMTX) += palmtx.o
Sergey Lapinc49e1e62008-08-29 15:47:52 +010056obj-$(CONFIG_MACH_PALMZ72) += palmz72.o
Marc Zyngier352699a2008-08-14 17:20:31 +020057obj-$(CONFIG_ARCH_VIPER) += viper.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070058
eric miao2c8086a2007-09-11 19:13:17 -070059ifeq ($(CONFIG_MACH_ZYLONITE),y)
60 obj-y += zylonite.o
61 obj-$(CONFIG_CPU_PXA300) += zylonite_pxa300.o
62 obj-$(CONFIG_CPU_PXA320) += zylonite_pxa320.o
63endif
eric miaoe1d9b952007-12-13 10:41:43 +080064obj-$(CONFIG_MACH_LITTLETON) += littleton.o
Eric Miaobae03312008-07-11 12:59:38 +080065obj-$(CONFIG_MACH_TAVOREVB) += tavorevb.o
Eric Miaofaf64ed2008-07-11 14:02:20 +080066obj-$(CONFIG_MACH_SAAR) += saar.o
eric miao2c8086a2007-09-11 19:13:17 -070067
Mike Rapoporta7f3f032008-10-05 10:26:55 +010068obj-$(CONFIG_MACH_ARMCORE) += cm-x2xx.o cm-x255.o cm-x270.o
Mike Rapoportcf75d8d2008-08-26 14:03:44 +010069obj-$(CONFIG_MACH_CM_X300) += cm-x300.o
Stefan Schmidt9ab24e42008-07-09 08:08:17 +010070obj-$(CONFIG_PXA_EZX) += ezx.o
Mike Rapoport3696a8a2007-09-23 15:59:26 +010071
Linus Torvalds1da177e2005-04-16 15:20:36 -070072# Support for blinky lights
73led-y := leds.o
Russell Kinga06748a2007-09-19 09:21:51 +010074led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o
75led-$(CONFIG_MACH_MAINSTONE) += leds-mainstone.o
76led-$(CONFIG_ARCH_PXA_IDP) += leds-idp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070077
Russell Kinga06748a2007-09-19 09:21:51 +010078obj-$(CONFIG_LEDS) += $(led-y)
Linus Torvalds1da177e2005-04-16 15:20:36 -070079
Mike Rapoport3696a8a2007-09-23 15:59:26 +010080ifeq ($(CONFIG_PCI),y)
Mike Rapoport7d76e3f2008-10-07 11:58:25 +010081obj-$(CONFIG_MACH_ARMCORE) += cm-x2xx-pci.o
Mike Rapoport3696a8a2007-09-23 15:59:26 +010082endif
Dmitry Baryshkov16b32fd2008-07-05 09:02:48 +010083
84obj-$(CONFIG_TOSA_BT) += tosa-bt.o