Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 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 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 8 | # GPIO must come after pinctrl as gpios may need to mux pins etc |
| 9 | obj-y += pinctrl/ |
Michael Buesch | 7444a72 | 2008-07-25 01:46:11 -0700 | [diff] [blame] | 10 | obj-y += gpio/ |
Linus Torvalds | 6015d2c | 2005-12-03 20:50:51 -0800 | [diff] [blame] | 11 | obj-$(CONFIG_PCI) += pci/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | obj-$(CONFIG_PARISC) += parisc/ |
Matt Porter | 394b701 | 2005-11-07 01:00:15 -0800 | [diff] [blame] | 13 | obj-$(CONFIG_RAPIDIO) += rapidio/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | obj-y += video/ |
Len Brown | 2671717 | 2010-03-08 14:07:30 -0500 | [diff] [blame] | 15 | obj-y += idle/ |
Len Brown | 888ba6c | 2005-08-24 12:07:20 -0400 | [diff] [blame] | 16 | obj-$(CONFIG_ACPI) += acpi/ |
Feng Tang | 6ae6996 | 2009-08-14 15:13:46 -0400 | [diff] [blame] | 17 | obj-$(CONFIG_SFI) += sfi/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | # PnP must come after ACPI since it will eventually need to check if acpi |
| 19 | # was used and do nothing if so |
| 20 | obj-$(CONFIG_PNP) += pnp/ |
Russell King | de1d815 | 2006-01-07 14:54:15 +0000 | [diff] [blame] | 21 | obj-$(CONFIG_ARM_AMBA) += amba/ |
Linus Walleij | a0eb221 | 2011-05-18 14:18:57 +0200 | [diff] [blame] | 22 | # Many drivers will want to use DMA so this has to be made available |
| 23 | # really early. |
| 24 | obj-$(CONFIG_DMA_ENGINE) += dma/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | |
Stijn Tintel | e2dbe06 | 2010-05-07 14:28:34 +0930 | [diff] [blame] | 26 | obj-$(CONFIG_VIRTIO) += virtio/ |
Jeremy Fitzhardinge | ad9a861 | 2007-07-17 18:37:06 -0700 | [diff] [blame] | 27 | obj-$(CONFIG_XEN) += xen/ |
| 28 | |
David Brownell | 9f4dab49 | 2008-12-01 21:50:13 -0800 | [diff] [blame] | 29 | # regulators early, since some subsystems rely on them to initialize |
| 30 | obj-$(CONFIG_REGULATOR) += regulator/ |
| 31 | |
Greg Kroah-Hartman | ab4382d | 2011-01-13 12:10:18 -0800 | [diff] [blame] | 32 | # tty/ comes before char/ so that the VT console is the boot-time |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | # default. |
Greg Kroah-Hartman | 96fd7ce | 2010-11-04 11:10:29 -0700 | [diff] [blame] | 34 | obj-y += tty/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | obj-y += char/ |
| 36 | |
Dave Airlie | e6b5163 | 2008-07-21 08:42:36 +1000 | [diff] [blame] | 37 | # gpu/ comes after char for AGP vs DRM startup |
| 38 | obj-y += gpu/ |
| 39 | |
Evgeniy Polyakov | 7672d0b | 2005-09-11 19:15:07 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_CONNECTOR) += connector/ |
| 41 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | # i810fb and intelfb depend on char/agp/ |
| 43 | obj-$(CONFIG_FB_I810) += video/i810/ |
| 44 | obj-$(CONFIG_FB_INTEL) += video/intelfb/ |
| 45 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | obj-$(CONFIG_PARPORT) += parport/ |
Matti J. Aaltonen | 0329326 | 2011-01-12 17:00:47 -0800 | [diff] [blame] | 47 | obj-y += base/ block/ misc/ mfd/ nfc/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_NUBUS) += nubus/ |
Soeren Sonnenburg | 45941d0 | 2007-02-08 14:20:38 -0800 | [diff] [blame] | 49 | obj-y += macintosh/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_IDE) += ide/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | obj-$(CONFIG_SCSI) += scsi/ |
Jeff Garzik | c6fd280 | 2006-08-10 07:31:37 -0400 | [diff] [blame] | 52 | obj-$(CONFIG_ATA) += ata/ |
Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 53 | obj-$(CONFIG_TARGET_CORE) += target/ |
Sudhakar Rajashekhara | 9289d4e | 2009-08-18 12:34:04 -0400 | [diff] [blame] | 54 | obj-$(CONFIG_MTD) += mtd/ |
| 55 | obj-$(CONFIG_SPI) += spi/ |
Arjan van de Ven | 0c40626 | 2009-01-26 18:58:11 -0800 | [diff] [blame] | 56 | obj-y += net/ |
| 57 | obj-$(CONFIG_ATM) += atm/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | obj-$(CONFIG_FUSION) += message/ |
Stefan Richter | 8702d33 | 2010-09-15 13:02:44 +0200 | [diff] [blame] | 59 | obj-y += firewire/ |
Hans J. Koch | beafc54 | 2006-12-07 10:58:29 +0100 | [diff] [blame] | 60 | obj-$(CONFIG_UIO) += uio/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | obj-y += cdrom/ |
Miguel Ojeda Sandonis | 70e8404 | 2007-02-10 01:44:32 -0800 | [diff] [blame] | 62 | obj-y += auxdisplay/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | obj-$(CONFIG_PCCARD) += pcmcia/ |
| 64 | obj-$(CONFIG_DIO) += dio/ |
| 65 | obj-$(CONFIG_SBUS) += sbus/ |
| 66 | obj-$(CONFIG_ZORRO) += zorro/ |
| 67 | obj-$(CONFIG_MAC) += macintosh/ |
| 68 | obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/ |
| 69 | obj-$(CONFIG_PARIDE) += block/paride/ |
| 70 | obj-$(CONFIG_TC) += tc/ |
David Vrabel | ae5d82c | 2008-10-24 16:46:22 +0100 | [diff] [blame] | 71 | obj-$(CONFIG_UWB) += uwb/ |
Felipe Balbi | 4661ffc | 2011-04-07 10:59:34 +0300 | [diff] [blame] | 72 | obj-$(CONFIG_USB_OTG_UTILS) += usb/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 73 | obj-$(CONFIG_USB) += usb/ |
Linus Torvalds | 6015d2c | 2005-12-03 20:50:51 -0800 | [diff] [blame] | 74 | obj-$(CONFIG_PCI) += usb/ |
Felipe Balbi | 4661ffc | 2011-04-07 10:59:34 +0300 | [diff] [blame] | 75 | obj-$(CONFIG_USB_GADGET) += usb/ |
Dmitry Torokhov | 51c38f9 | 2006-02-19 00:22:51 -0500 | [diff] [blame] | 76 | obj-$(CONFIG_SERIO) += input/serio/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 77 | obj-$(CONFIG_GAMEPORT) += input/gameport/ |
| 78 | obj-$(CONFIG_INPUT) += input/ |
| 79 | obj-$(CONFIG_I2O) += message/ |
Alessandro Zummo | c58411e | 2006-03-27 01:16:34 -0800 | [diff] [blame] | 80 | obj-$(CONFIG_RTC_LIB) += rtc/ |
Guennadi Liakhovetski | a357482 | 2009-04-21 04:22:38 -0300 | [diff] [blame] | 81 | obj-y += i2c/ media/ |
Rodolfo Giometti | eae9d2b | 2009-06-17 16:28:37 -0700 | [diff] [blame] | 82 | obj-$(CONFIG_PPS) += pps/ |
Richard Cochran | d94ba80 | 2011-04-22 12:03:08 +0200 | [diff] [blame] | 83 | obj-$(CONFIG_PTP_1588_CLOCK) += ptp/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 84 | obj-$(CONFIG_W1) += w1/ |
Anton Vorontsov | 4a11b59 | 2007-05-04 00:27:45 +0400 | [diff] [blame] | 85 | obj-$(CONFIG_POWER_SUPPLY) += power/ |
Jean Delvare | ad2f931 | 2005-07-02 18:15:49 +0200 | [diff] [blame] | 86 | obj-$(CONFIG_HWMON) += hwmon/ |
Zhang Rui | 203d3d4 | 2008-01-17 15:51:08 +0800 | [diff] [blame] | 87 | obj-$(CONFIG_THERMAL) += thermal/ |
Wim Van Sebroeck | b7e04f8 | 2007-08-17 08:38:02 +0000 | [diff] [blame] | 88 | obj-$(CONFIG_WATCHDOG) += watchdog/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | obj-$(CONFIG_PHONE) += telephony/ |
| 90 | obj-$(CONFIG_MD) += md/ |
| 91 | obj-$(CONFIG_BT) += bluetooth/ |
Samuel Thibault | f7511d5 | 2008-04-30 00:54:51 -0700 | [diff] [blame] | 92 | obj-$(CONFIG_ACCESSIBILITY) += accessibility/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | obj-$(CONFIG_ISDN) += isdn/ |
Alan Cox | da9bb1d | 2006-01-18 17:44:13 -0800 | [diff] [blame] | 94 | obj-$(CONFIG_EDAC) += edac/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 95 | obj-$(CONFIG_MCA) += mca/ |
| 96 | obj-$(CONFIG_EISA) += eisa/ |
Glauber de Oliveira Costa | 7ea0809 | 2008-01-18 00:16:43 -0200 | [diff] [blame] | 97 | obj-y += lguest/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 98 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 99 | obj-$(CONFIG_CPU_IDLE) += cpuidle/ |
Adrian Hunter | 52c506f | 2011-12-27 15:48:43 +0200 | [diff] [blame] | 100 | obj-y += mmc/ |
Alex Dubov | baf8532 | 2008-02-09 10:20:54 -0800 | [diff] [blame] | 101 | obj-$(CONFIG_MEMSTICK) += memstick/ |
Uwe Kleine-König | 4440673 | 2011-05-24 17:13:29 -0700 | [diff] [blame] | 102 | obj-y += leds/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | obj-$(CONFIG_INFINIBAND) += infiniband/ |
Jes Sorensen | 466575f | 2006-01-19 04:54:00 -0500 | [diff] [blame] | 104 | obj-$(CONFIG_SGI_SN) += sn/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 105 | obj-y += firmware/ |
| 106 | obj-$(CONFIG_CRYPTO) += crypto/ |
Paul Mundt | e87eaad | 2005-11-07 00:58:19 -0800 | [diff] [blame] | 107 | obj-$(CONFIG_SUPERH) += sh/ |
Magnus Damm | 13d605d | 2010-02-05 11:15:15 +0000 | [diff] [blame] | 108 | obj-$(CONFIG_ARCH_SHMOBILE) += sh/ |
John Stultz | 592913e | 2010-07-13 17:56:20 -0700 | [diff] [blame] | 109 | ifndef CONFIG_ARCH_USES_GETTIMEOFFSET |
| 110 | obj-y += clocksource/ |
| 111 | endif |
Shannon Nelson | 7589670 | 2007-10-16 01:27:41 -0700 | [diff] [blame] | 112 | obj-$(CONFIG_DCA) += dca/ |
Jiri Kosina | 63f3861 | 2006-12-08 18:41:30 +0100 | [diff] [blame] | 113 | obj-$(CONFIG_HID) += hid/ |
Geert Uytterhoeven | eb30c72 | 2006-11-27 19:18:56 +0100 | [diff] [blame] | 114 | obj-$(CONFIG_PPC_PS3) += ps3/ |
Stephen Rothwell | 97e873e | 2007-05-01 16:26:07 +1000 | [diff] [blame] | 115 | obj-$(CONFIG_OF) += of/ |
Michael Buesch | 61e115a | 2007-09-18 15:12:50 -0400 | [diff] [blame] | 116 | obj-$(CONFIG_SSB) += ssb/ |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 117 | obj-$(CONFIG_BCMA) += bcma/ |
Michael S. Tsirkin | 3a4d5c94e | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 118 | obj-$(CONFIG_VHOST_NET) += vhost/ |
Florian Fainelli | 55e331c | 2009-06-16 15:33:53 -0700 | [diff] [blame] | 119 | obj-$(CONFIG_VLYNQ) += vlynq/ |
Greg Kroah-Hartman | 3504558 | 2008-09-24 14:46:44 -0700 | [diff] [blame] | 120 | obj-$(CONFIG_STAGING) += staging/ |
Len Brown | 41b16dc | 2008-12-01 00:09:47 -0500 | [diff] [blame] | 121 | obj-y += platform/ |
Sergey Lapin | 8459464 | 2009-06-08 12:18:51 +0000 | [diff] [blame] | 122 | obj-y += ieee802154/ |
Jean-Christop PLAGNIOL-VILLARD | 6d803ba | 2010-11-17 10:04:33 +0100 | [diff] [blame] | 123 | #common clk code |
| 124 | obj-y += clk/ |
Ohad Ben-Cohen | bd9a4c7 | 2011-02-17 09:52:03 -0800 | [diff] [blame] | 125 | |
| 126 | obj-$(CONFIG_HWSPINLOCK) += hwspinlock/ |
Lauro Ramos Venancio | 3e256b8 | 2011-07-01 19:31:33 -0300 | [diff] [blame] | 127 | obj-$(CONFIG_NFC) += nfc/ |
Joerg Roedel | 6b385b4 | 2011-07-07 12:18:48 +0200 | [diff] [blame] | 128 | obj-$(CONFIG_IOMMU_SUPPORT) += iommu/ |
Timur Tabi | 6db7199 | 2011-06-09 15:52:06 -0500 | [diff] [blame] | 129 | |
| 130 | # Virtualization drivers |
| 131 | obj-$(CONFIG_VIRT_DRIVERS) += virt/ |
Greg Kroah-Hartman | 46a9719 | 2011-10-04 12:29:52 -0700 | [diff] [blame] | 132 | obj-$(CONFIG_HYPERV) += hv/ |
MyungJoo Ham | a3c98b8 | 2011-10-02 00:19:15 +0200 | [diff] [blame] | 133 | |
| 134 | obj-$(CONFIG_PM_DEVFREQ) += devfreq/ |