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