blob: 30ba97ec5eb525eefd89807600490c7f0dac0854 [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
Evgeniy Polyakov7672d0b2005-09-11 19:15:07 -070025obj-$(CONFIG_CONNECTOR) += connector/
26
Linus Torvalds1da177e2005-04-16 15:20:36 -070027# i810fb and intelfb depend on char/agp/
28obj-$(CONFIG_FB_I810) += video/i810/
29obj-$(CONFIG_FB_INTEL) += video/intelfb/
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031obj-y += serial/
32obj-$(CONFIG_PARPORT) += parport/
Russell Kinga4e137a2005-08-18 10:06:59 +010033obj-y += base/ block/ misc/ mfd/ net/ media/
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-$(CONFIG_NUBUS) += nubus/
35obj-$(CONFIG_ATM) += atm/
Soeren Sonnenburg45941d02007-02-08 14:20:38 -080036obj-y += macintosh/
Linus Torvalds1da177e2005-04-16 15:20:36 -070037obj-$(CONFIG_IDE) += ide/
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_SCSI) += scsi/
Jeff Garzikc6fd2802006-08-10 07:31:37 -040039obj-$(CONFIG_ATA) += ata/
Linus Torvalds1da177e2005-04-16 15:20:36 -070040obj-$(CONFIG_FUSION) += message/
Stefan Richter11f494e2007-03-18 01:39:28 +010041obj-$(CONFIG_FIREWIRE) += firewire/
Bernhard Kaindlf212ec42008-01-30 13:34:11 +010042obj-y += ieee1394/
Hans J. Kochbeafc542006-12-07 10:58:29 +010043obj-$(CONFIG_UIO) += uio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070044obj-y += cdrom/
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -080045obj-y += auxdisplay/
Linus Torvalds1da177e2005-04-16 15:20:36 -070046obj-$(CONFIG_MTD) += mtd/
David Brownell8ae12a02006-01-08 13:34:19 -080047obj-$(CONFIG_SPI) += spi/
Linus Torvalds1da177e2005-04-16 15:20:36 -070048obj-$(CONFIG_PCCARD) += pcmcia/
49obj-$(CONFIG_DIO) += dio/
50obj-$(CONFIG_SBUS) += sbus/
51obj-$(CONFIG_ZORRO) += zorro/
52obj-$(CONFIG_MAC) += macintosh/
53obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
54obj-$(CONFIG_PARIDE) += block/paride/
55obj-$(CONFIG_TC) += tc/
56obj-$(CONFIG_USB) += usb/
Linus Torvalds6015d2c2005-12-03 20:50:51 -080057obj-$(CONFIG_PCI) += usb/
Linus Torvalds1da177e2005-04-16 15:20:36 -070058obj-$(CONFIG_USB_GADGET) += usb/gadget/
Dmitry Torokhov51c38f92006-02-19 00:22:51 -050059obj-$(CONFIG_SERIO) += input/serio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070060obj-$(CONFIG_GAMEPORT) += input/gameport/
61obj-$(CONFIG_INPUT) += input/
62obj-$(CONFIG_I2O) += message/
Alessandro Zummoc58411e2006-03-27 01:16:34 -080063obj-$(CONFIG_RTC_LIB) += rtc/
David Brownell9c1600e2007-05-01 23:26:31 +020064obj-y += i2c/
Linus Torvalds1da177e2005-04-16 15:20:36 -070065obj-$(CONFIG_W1) += w1/
Anton Vorontsov4a11b592007-05-04 00:27:45 +040066obj-$(CONFIG_POWER_SUPPLY) += power/
Jean Delvaread2f9312005-07-02 18:15:49 +020067obj-$(CONFIG_HWMON) += hwmon/
Zhang Rui203d3d42008-01-17 15:51:08 +080068obj-$(CONFIG_THERMAL) += thermal/
Wim Van Sebroeckb7e04f82007-08-17 08:38:02 +000069obj-$(CONFIG_WATCHDOG) += watchdog/
Linus Torvalds1da177e2005-04-16 15:20:36 -070070obj-$(CONFIG_PHONE) += telephony/
71obj-$(CONFIG_MD) += md/
72obj-$(CONFIG_BT) += bluetooth/
73obj-$(CONFIG_ISDN) += isdn/
Alan Coxda9bb1d2006-01-18 17:44:13 -080074obj-$(CONFIG_EDAC) += edac/
Linus Torvalds1da177e2005-04-16 15:20:36 -070075obj-$(CONFIG_MCA) += mca/
76obj-$(CONFIG_EISA) += eisa/
Glauber de Oliveira Costa7ea08092008-01-18 00:16:43 -020077obj-y += lguest/
Linus Torvalds1da177e2005-04-16 15:20:36 -070078obj-$(CONFIG_CPU_FREQ) += cpufreq/
Len Brown4f86d3a2007-10-03 18:58:00 -040079obj-$(CONFIG_CPU_IDLE) += cpuidle/
Linus Torvalds1da177e2005-04-16 15:20:36 -070080obj-$(CONFIG_MMC) += mmc/
Richard Purdiec72a1d62006-03-31 02:31:04 -080081obj-$(CONFIG_NEW_LEDS) += leds/
Linus Torvalds1da177e2005-04-16 15:20:36 -070082obj-$(CONFIG_INFINIBAND) += infiniband/
Jes Sorensen466575f2006-01-19 04:54:00 -050083obj-$(CONFIG_SGI_SN) += sn/
Linus Torvalds1da177e2005-04-16 15:20:36 -070084obj-y += firmware/
85obj-$(CONFIG_CRYPTO) += crypto/
Paul Mundte87eaad2005-11-07 00:58:19 -080086obj-$(CONFIG_SUPERH) += sh/
john stultz5d0cf412006-06-26 00:25:12 -070087obj-$(CONFIG_GENERIC_TIME) += clocksource/
Chris Leechc13c8262006-05-23 17:18:44 -070088obj-$(CONFIG_DMA_ENGINE) += dma/
Shannon Nelson75896702007-10-16 01:27:41 -070089obj-$(CONFIG_DCA) += dca/
Jiri Kosina63f38612006-12-08 18:41:30 +010090obj-$(CONFIG_HID) += hid/
Geert Uytterhoeveneb30c722006-11-27 19:18:56 +010091obj-$(CONFIG_PPC_PS3) += ps3/
Stephen Rothwell97e873e2007-05-01 16:26:07 +100092obj-$(CONFIG_OF) += of/
Michael Buesch61e115a2007-09-18 15:12:50 -040093obj-$(CONFIG_SSB) += ssb/
Rusty Russellec3d41c2007-10-22 11:03:36 +100094obj-$(CONFIG_VIRTIO) += virtio/