blob: f42a03029b7c01d58193ee4b4b63d2660852a46c [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux kernel device drivers.
3#
4# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
5# Rewritten to use lists instead of if-statements.
6#
7
Michael Buesch7444a722008-07-25 01:46:11 -07008obj-y += gpio/
Linus Torvalds6015d2c2005-12-03 20:50:51 -08009obj-$(CONFIG_PCI) += pci/
Linus Torvalds1da177e2005-04-16 15:20:36 -070010obj-$(CONFIG_PARISC) += parisc/
Matt Porter394b7012005-11-07 01:00:15 -080011obj-$(CONFIG_RAPIDIO) += rapidio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070012obj-y += video/
Len Brown888ba6c2005-08-24 12:07:20 -040013obj-$(CONFIG_ACPI) += acpi/
Feng Tang6ae69962009-08-14 15:13:46 -040014obj-$(CONFIG_SFI) += sfi/
Linus Torvalds1da177e2005-04-16 15:20:36 -070015# PnP must come after ACPI since it will eventually need to check if acpi
16# was used and do nothing if so
17obj-$(CONFIG_PNP) += pnp/
Russell Kingde1d8152006-01-07 14:54:15 +000018obj-$(CONFIG_ARM_AMBA) += amba/
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Stijn Tintele2dbe062010-05-07 14:28:34 +093020obj-$(CONFIG_VIRTIO) += virtio/
Jeremy Fitzhardingead9a8612007-07-17 18:37:06 -070021obj-$(CONFIG_XEN) += xen/
22
David Brownell9f4dab42008-12-01 21:50:13 -080023# regulators early, since some subsystems rely on them to initialize
24obj-$(CONFIG_REGULATOR) += regulator/
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026# char/ comes before serial/ etc so that the VT console is the boot-time
27# default.
28obj-y += char/
29
Dave Airliee6b51632008-07-21 08:42:36 +100030# gpu/ comes after char for AGP vs DRM startup
31obj-y += gpu/
32
Evgeniy Polyakov7672d0b2005-09-11 19:15:07 -070033obj-$(CONFIG_CONNECTOR) += connector/
34
Linus Torvalds1da177e2005-04-16 15:20:36 -070035# i810fb and intelfb depend on char/agp/
36obj-$(CONFIG_FB_I810) += video/i810/
37obj-$(CONFIG_FB_INTEL) += video/intelfb/
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039obj-y += serial/
40obj-$(CONFIG_PARPORT) += parport/
Guennadi Liakhovetskia3574822009-04-21 04:22:38 -030041obj-y += base/ block/ misc/ mfd/
Linus Torvalds1da177e2005-04-16 15:20:36 -070042obj-$(CONFIG_NUBUS) += nubus/
Soeren Sonnenburg45941d02007-02-08 14:20:38 -080043obj-y += macintosh/
Linus Torvalds1da177e2005-04-16 15:20:36 -070044obj-$(CONFIG_IDE) += ide/
Linus Torvalds1da177e2005-04-16 15:20:36 -070045obj-$(CONFIG_SCSI) += scsi/
Jeff Garzikc6fd2802006-08-10 07:31:37 -040046obj-$(CONFIG_ATA) += ata/
Sudhakar Rajashekhara9289d4e2009-08-18 12:34:04 -040047obj-$(CONFIG_MTD) += mtd/
48obj-$(CONFIG_SPI) += spi/
Arjan van de Ven0c406262009-01-26 18:58:11 -080049obj-y += net/
50obj-$(CONFIG_ATM) += atm/
Linus Torvalds1da177e2005-04-16 15:20:36 -070051obj-$(CONFIG_FUSION) += message/
Stefan Richter11f494e2007-03-18 01:39:28 +010052obj-$(CONFIG_FIREWIRE) += firewire/
Bernhard Kaindlf212ec42008-01-30 13:34:11 +010053obj-y += ieee1394/
Hans J. Kochbeafc542006-12-07 10:58:29 +010054obj-$(CONFIG_UIO) += uio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070055obj-y += cdrom/
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -080056obj-y += auxdisplay/
Linus Torvalds1da177e2005-04-16 15:20:36 -070057obj-$(CONFIG_PCCARD) += pcmcia/
58obj-$(CONFIG_DIO) += dio/
59obj-$(CONFIG_SBUS) += sbus/
60obj-$(CONFIG_ZORRO) += zorro/
61obj-$(CONFIG_MAC) += macintosh/
62obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
63obj-$(CONFIG_PARIDE) += block/paride/
64obj-$(CONFIG_TC) += tc/
David Vrabelae5d82c2008-10-24 16:46:22 +010065obj-$(CONFIG_UWB) += uwb/
David Brownellb8da8672008-11-24 11:53:35 -080066obj-$(CONFIG_USB_OTG_UTILS) += usb/otg/
Linus Torvalds1da177e2005-04-16 15:20:36 -070067obj-$(CONFIG_USB) += usb/
Felipe Balbi550a7372008-07-24 12:27:36 +030068obj-$(CONFIG_USB_MUSB_HDRC) += usb/musb/
Linus Torvalds6015d2c2005-12-03 20:50:51 -080069obj-$(CONFIG_PCI) += usb/
Linus Torvalds1da177e2005-04-16 15:20:36 -070070obj-$(CONFIG_USB_GADGET) += usb/gadget/
Dmitry Torokhov51c38f92006-02-19 00:22:51 -050071obj-$(CONFIG_SERIO) += input/serio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070072obj-$(CONFIG_GAMEPORT) += input/gameport/
73obj-$(CONFIG_INPUT) += input/
74obj-$(CONFIG_I2O) += message/
Alessandro Zummoc58411e2006-03-27 01:16:34 -080075obj-$(CONFIG_RTC_LIB) += rtc/
Guennadi Liakhovetskia3574822009-04-21 04:22:38 -030076obj-y += i2c/ media/
Rodolfo Giomettieae9d2b2009-06-17 16:28:37 -070077obj-$(CONFIG_PPS) += pps/
Linus Torvalds1da177e2005-04-16 15:20:36 -070078obj-$(CONFIG_W1) += w1/
Anton Vorontsov4a11b592007-05-04 00:27:45 +040079obj-$(CONFIG_POWER_SUPPLY) += power/
Jean Delvaread2f9312005-07-02 18:15:49 +020080obj-$(CONFIG_HWMON) += hwmon/
Zhang Rui203d3d42008-01-17 15:51:08 +080081obj-$(CONFIG_THERMAL) += thermal/
Wim Van Sebroeckb7e04f82007-08-17 08:38:02 +000082obj-$(CONFIG_WATCHDOG) += watchdog/
Linus Torvalds1da177e2005-04-16 15:20:36 -070083obj-$(CONFIG_PHONE) += telephony/
84obj-$(CONFIG_MD) += md/
85obj-$(CONFIG_BT) += bluetooth/
Samuel Thibaultf7511d52008-04-30 00:54:51 -070086obj-$(CONFIG_ACCESSIBILITY) += accessibility/
Linus Torvalds1da177e2005-04-16 15:20:36 -070087obj-$(CONFIG_ISDN) += isdn/
Alan Coxda9bb1d2006-01-18 17:44:13 -080088obj-$(CONFIG_EDAC) += edac/
Linus Torvalds1da177e2005-04-16 15:20:36 -070089obj-$(CONFIG_MCA) += mca/
90obj-$(CONFIG_EISA) += eisa/
Glauber de Oliveira Costa7ea08092008-01-18 00:16:43 -020091obj-y += lguest/
Linus Torvalds1da177e2005-04-16 15:20:36 -070092obj-$(CONFIG_CPU_FREQ) += cpufreq/
Len Brown4f86d3a2007-10-03 18:58:00 -040093obj-$(CONFIG_CPU_IDLE) += cpuidle/
Andy Henroid27471fd2008-10-09 11:45:22 -070094obj-y += idle/
Linus Torvalds1da177e2005-04-16 15:20:36 -070095obj-$(CONFIG_MMC) += mmc/
Alex Dubovbaf85322008-02-09 10:20:54 -080096obj-$(CONFIG_MEMSTICK) += memstick/
Richard Purdiec72a1d62006-03-31 02:31:04 -080097obj-$(CONFIG_NEW_LEDS) += leds/
Linus Torvalds1da177e2005-04-16 15:20:36 -070098obj-$(CONFIG_INFINIBAND) += infiniband/
Jes Sorensen466575f2006-01-19 04:54:00 -050099obj-$(CONFIG_SGI_SN) += sn/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100obj-y += firmware/
101obj-$(CONFIG_CRYPTO) += crypto/
Paul Mundte87eaad2005-11-07 00:58:19 -0800102obj-$(CONFIG_SUPERH) += sh/
Magnus Damm13d605d2010-02-05 11:15:15 +0000103obj-$(CONFIG_ARCH_SHMOBILE) += sh/
john stultz5d0cf412006-06-26 00:25:12 -0700104obj-$(CONFIG_GENERIC_TIME) += clocksource/
Chris Leechc13c8262006-05-23 17:18:44 -0700105obj-$(CONFIG_DMA_ENGINE) += dma/
Shannon Nelson75896702007-10-16 01:27:41 -0700106obj-$(CONFIG_DCA) += dca/
Jiri Kosina63f38612006-12-08 18:41:30 +0100107obj-$(CONFIG_HID) += hid/
Geert Uytterhoeveneb30c722006-11-27 19:18:56 +0100108obj-$(CONFIG_PPC_PS3) += ps3/
Stephen Rothwell97e873e2007-05-01 16:26:07 +1000109obj-$(CONFIG_OF) += of/
Michael Buesch61e115a2007-09-18 15:12:50 -0400110obj-$(CONFIG_SSB) += ssb/
Michael S. Tsirkin3a4d5c92010-01-14 06:17:27 +0000111obj-$(CONFIG_VHOST_NET) += vhost/
Florian Fainelli55e331c2009-06-16 15:33:53 -0700112obj-$(CONFIG_VLYNQ) += vlynq/
Greg Kroah-Hartman35045582008-09-24 14:46:44 -0700113obj-$(CONFIG_STAGING) += staging/
Len Brown41b16dc2008-12-01 00:09:47 -0500114obj-y += platform/
Sergey Lapin84594642009-06-08 12:18:51 +0000115obj-y += ieee802154/