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