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