blob: 808e0ae66aa80cfeead838ea27731457177a22a7 [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
David Brownella9c5fff2008-02-04 22:28:17 -08008obj-$(CONFIG_HAVE_GPIO_LIB) += 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/
Linus Torvalds1da177e2005-04-16 15:20:36 -070014# PnP must come after ACPI since it will eventually need to check if acpi
15# was used and do nothing if so
16obj-$(CONFIG_PNP) += pnp/
Russell Kingde1d8152006-01-07 14:54:15 +000017obj-$(CONFIG_ARM_AMBA) += amba/
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Jeremy Fitzhardingead9a8612007-07-17 18:37:06 -070019obj-$(CONFIG_XEN) += xen/
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021# char/ comes before serial/ etc so that the VT console is the boot-time
22# default.
23obj-y += char/
24
Dave Airliee6b51632008-07-21 08:42:36 +100025# gpu/ comes after char for AGP vs DRM startup
26obj-y += gpu/
27
Evgeniy Polyakov7672d0b2005-09-11 19:15:07 -070028obj-$(CONFIG_CONNECTOR) += connector/
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030# i810fb and intelfb depend on char/agp/
31obj-$(CONFIG_FB_I810) += video/i810/
32obj-$(CONFIG_FB_INTEL) += video/intelfb/
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-y += serial/
35obj-$(CONFIG_PARPORT) += parport/
Russell Kinga4e137a2005-08-18 10:06:59 +010036obj-y += base/ block/ misc/ mfd/ net/ media/
Linus Torvalds1da177e2005-04-16 15:20:36 -070037obj-$(CONFIG_NUBUS) += nubus/
38obj-$(CONFIG_ATM) += atm/
Soeren Sonnenburg45941d02007-02-08 14:20:38 -080039obj-y += macintosh/
Linus Torvalds1da177e2005-04-16 15:20:36 -070040obj-$(CONFIG_IDE) += ide/
Linus Torvalds1da177e2005-04-16 15:20:36 -070041obj-$(CONFIG_SCSI) += scsi/
Jeff Garzikc6fd2802006-08-10 07:31:37 -040042obj-$(CONFIG_ATA) += ata/
Linus Torvalds1da177e2005-04-16 15:20:36 -070043obj-$(CONFIG_FUSION) += message/
Stefan Richter11f494e2007-03-18 01:39:28 +010044obj-$(CONFIG_FIREWIRE) += firewire/
Bernhard Kaindlf212ec42008-01-30 13:34:11 +010045obj-y += ieee1394/
Hans J. Kochbeafc542006-12-07 10:58:29 +010046obj-$(CONFIG_UIO) += uio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070047obj-y += cdrom/
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -080048obj-y += auxdisplay/
Linus Torvalds1da177e2005-04-16 15:20:36 -070049obj-$(CONFIG_MTD) += mtd/
David Brownell8ae12a02006-01-08 13:34:19 -080050obj-$(CONFIG_SPI) += spi/
Linus Torvalds1da177e2005-04-16 15:20:36 -070051obj-$(CONFIG_PCCARD) += pcmcia/
52obj-$(CONFIG_DIO) += dio/
53obj-$(CONFIG_SBUS) += sbus/
54obj-$(CONFIG_ZORRO) += zorro/
55obj-$(CONFIG_MAC) += macintosh/
56obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
57obj-$(CONFIG_PARIDE) += block/paride/
58obj-$(CONFIG_TC) += tc/
59obj-$(CONFIG_USB) += usb/
Linus Torvalds6015d2c2005-12-03 20:50:51 -080060obj-$(CONFIG_PCI) += usb/
Linus Torvalds1da177e2005-04-16 15:20:36 -070061obj-$(CONFIG_USB_GADGET) += usb/gadget/
Dmitry Torokhov51c38f92006-02-19 00:22:51 -050062obj-$(CONFIG_SERIO) += input/serio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070063obj-$(CONFIG_GAMEPORT) += input/gameport/
64obj-$(CONFIG_INPUT) += input/
65obj-$(CONFIG_I2O) += message/
Alessandro Zummoc58411e2006-03-27 01:16:34 -080066obj-$(CONFIG_RTC_LIB) += rtc/
David Brownell9c1600e2007-05-01 23:26:31 +020067obj-y += i2c/
Linus Torvalds1da177e2005-04-16 15:20:36 -070068obj-$(CONFIG_W1) += w1/
Anton Vorontsov4a11b592007-05-04 00:27:45 +040069obj-$(CONFIG_POWER_SUPPLY) += power/
Jean Delvaread2f9312005-07-02 18:15:49 +020070obj-$(CONFIG_HWMON) += hwmon/
Zhang Rui203d3d42008-01-17 15:51:08 +080071obj-$(CONFIG_THERMAL) += thermal/
Wim Van Sebroeckb7e04f82007-08-17 08:38:02 +000072obj-$(CONFIG_WATCHDOG) += watchdog/
Linus Torvalds1da177e2005-04-16 15:20:36 -070073obj-$(CONFIG_PHONE) += telephony/
74obj-$(CONFIG_MD) += md/
75obj-$(CONFIG_BT) += bluetooth/
Samuel Thibaultf7511d52008-04-30 00:54:51 -070076obj-$(CONFIG_ACCESSIBILITY) += accessibility/
Linus Torvalds1da177e2005-04-16 15:20:36 -070077obj-$(CONFIG_ISDN) += isdn/
Alan Coxda9bb1d2006-01-18 17:44:13 -080078obj-$(CONFIG_EDAC) += edac/
Linus Torvalds1da177e2005-04-16 15:20:36 -070079obj-$(CONFIG_MCA) += mca/
80obj-$(CONFIG_EISA) += eisa/
Glauber de Oliveira Costa7ea08092008-01-18 00:16:43 -020081obj-y += lguest/
Linus Torvalds1da177e2005-04-16 15:20:36 -070082obj-$(CONFIG_CPU_FREQ) += cpufreq/
Len Brown4f86d3a2007-10-03 18:58:00 -040083obj-$(CONFIG_CPU_IDLE) += cpuidle/
Linus Torvalds1da177e2005-04-16 15:20:36 -070084obj-$(CONFIG_MMC) += mmc/
Alex Dubovbaf85322008-02-09 10:20:54 -080085obj-$(CONFIG_MEMSTICK) += memstick/
Richard Purdiec72a1d62006-03-31 02:31:04 -080086obj-$(CONFIG_NEW_LEDS) += leds/
Linus Torvalds1da177e2005-04-16 15:20:36 -070087obj-$(CONFIG_INFINIBAND) += infiniband/
Jes Sorensen466575f2006-01-19 04:54:00 -050088obj-$(CONFIG_SGI_SN) += sn/
Linus Torvalds1da177e2005-04-16 15:20:36 -070089obj-y += firmware/
90obj-$(CONFIG_CRYPTO) += crypto/
Paul Mundte87eaad2005-11-07 00:58:19 -080091obj-$(CONFIG_SUPERH) += sh/
john stultz5d0cf412006-06-26 00:25:12 -070092obj-$(CONFIG_GENERIC_TIME) += clocksource/
Chris Leechc13c8262006-05-23 17:18:44 -070093obj-$(CONFIG_DMA_ENGINE) += dma/
Shannon Nelson75896702007-10-16 01:27:41 -070094obj-$(CONFIG_DCA) += dca/
Jiri Kosina63f38612006-12-08 18:41:30 +010095obj-$(CONFIG_HID) += hid/
Geert Uytterhoeveneb30c722006-11-27 19:18:56 +010096obj-$(CONFIG_PPC_PS3) += ps3/
Stephen Rothwell97e873e2007-05-01 16:26:07 +100097obj-$(CONFIG_OF) += of/
Michael Buesch61e115a2007-09-18 15:12:50 -040098obj-$(CONFIG_SSB) += ssb/
Rusty Russellec3d41c2007-10-22 11:03:36 +100099obj-$(CONFIG_VIRTIO) += virtio/