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