blob: 130abc1dfd65419688ec4195e2925c302a5d673f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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 Arlott89214f02012-09-12 19:57:26 -06008obj-y += irqchip/
Kishon Vijay Abraham I26a84b32012-08-22 14:10:02 +05309obj-y += bus/
Simon Arlott89214f02012-09-12 19:57:26 -060010
Linus Walleij2744e8a2011-05-02 20:50:54 +020011# GPIO must come after pinctrl as gpios may need to mux pins etc
12obj-y += pinctrl/
Michael Buesch7444a722008-07-25 01:46:11 -070013obj-y += gpio/
Sascha Hauer0c2498f2011-01-28 09:40:40 +010014obj-y += pwm/
Linus Torvalds6015d2c2005-12-03 20:50:51 -080015obj-$(CONFIG_PCI) += pci/
Linus Torvalds1da177e2005-04-16 15:20:36 -070016obj-$(CONFIG_PARISC) += parisc/
Matt Porter394b7012005-11-07 01:00:15 -080017obj-$(CONFIG_RAPIDIO) += rapidio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-y += video/
Len Brown26717172010-03-08 14:07:30 -050019obj-y += idle/
Matthew Garrett061475b2012-10-16 15:53:38 -050020
21# IPMI must come before ACPI in order to provide IPMI opregion support
22obj-$(CONFIG_IPMI_HANDLER) += char/ipmi/
23
Len Brown888ba6c2005-08-24 12:07:20 -040024obj-$(CONFIG_ACPI) += acpi/
Feng Tang6ae69962009-08-14 15:13:46 -040025obj-$(CONFIG_SFI) += sfi/
Linus Torvalds1da177e2005-04-16 15:20:36 -070026# PnP must come after ACPI since it will eventually need to check if acpi
27# was used and do nothing if so
28obj-$(CONFIG_PNP) += pnp/
Hiroshi DOYU87d0bab2012-05-07 12:24:48 +020029obj-y += amba/
Linus Walleija0eb2212011-05-18 14:18:57 +020030# Many drivers will want to use DMA so this has to be made available
31# really early.
Philippe De Muyter9a322992012-10-12 17:52:45 +020032obj-$(CONFIG_DMADEVICES) += dma/
Linus Torvalds1da177e2005-04-16 15:20:36 -070033
Stijn Tintele2dbe062010-05-07 14:28:34 +093034obj-$(CONFIG_VIRTIO) += virtio/
Jeremy Fitzhardingead9a8612007-07-17 18:37:06 -070035obj-$(CONFIG_XEN) += xen/
36
David Brownell9f4dab492008-12-01 21:50:13 -080037# regulators early, since some subsystems rely on them to initialize
38obj-$(CONFIG_REGULATOR) += regulator/
39
Philipp Zabel61fc4132012-11-19 17:23:13 +010040# reset controllers early, since gpu drivers might rely on them to initialize
41obj-$(CONFIG_RESET_CONTROLLER) += reset/
42
Greg Kroah-Hartmanab4382d2011-01-13 12:10:18 -080043# tty/ comes before char/ so that the VT console is the boot-time
Linus Torvalds1da177e2005-04-16 15:20:36 -070044# default.
Greg Kroah-Hartman96fd7ce2010-11-04 11:10:29 -070045obj-y += tty/
Linus Torvalds1da177e2005-04-16 15:20:36 -070046obj-y += char/
47
Dave Airliee6b51632008-07-21 08:42:36 +100048# gpu/ comes after char for AGP vs DRM startup
49obj-y += gpu/
50
Evgeniy Polyakov7672d0b2005-09-11 19:15:07 -070051obj-$(CONFIG_CONNECTOR) += connector/
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053# i810fb and intelfb depend on char/agp/
54obj-$(CONFIG_FB_I810) += video/i810/
55obj-$(CONFIG_FB_INTEL) += video/intelfb/
56
Linus Torvalds1da177e2005-04-16 15:20:36 -070057obj-$(CONFIG_PARPORT) += parport/
Matti J. Aaltonen03293262011-01-12 17:00:47 -080058obj-y += base/ block/ misc/ mfd/ nfc/
Linus Torvalds1da177e2005-04-16 15:20:36 -070059obj-$(CONFIG_NUBUS) += nubus/
Soeren Sonnenburg45941d02007-02-08 14:20:38 -080060obj-y += macintosh/
Linus Torvalds1da177e2005-04-16 15:20:36 -070061obj-$(CONFIG_IDE) += ide/
Linus Torvalds1da177e2005-04-16 15:20:36 -070062obj-$(CONFIG_SCSI) += scsi/
Jeff Garzikc6fd2802006-08-10 07:31:37 -040063obj-$(CONFIG_ATA) += ata/
Nicholas Bellingerc66ac9d2010-12-17 11:11:26 -080064obj-$(CONFIG_TARGET_CORE) += target/
Sudhakar Rajashekhara9289d4e2009-08-18 12:34:04 -040065obj-$(CONFIG_MTD) += mtd/
66obj-$(CONFIG_SPI) += spi/
Carlos Chineaa056ab82010-04-16 19:01:02 +030067obj-y += hsi/
Arjan van de Ven0c406262009-01-26 18:58:11 -080068obj-y += net/
69obj-$(CONFIG_ATM) += atm/
Linus Torvalds1da177e2005-04-16 15:20:36 -070070obj-$(CONFIG_FUSION) += message/
Stefan Richter8702d332010-09-15 13:02:44 +020071obj-y += firewire/
Hans J. Kochbeafc542006-12-07 10:58:29 +010072obj-$(CONFIG_UIO) += uio/
Alex Williamsoncba33452012-07-31 08:16:22 -060073obj-$(CONFIG_VFIO) += vfio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070074obj-y += cdrom/
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -080075obj-y += auxdisplay/
Linus Torvalds1da177e2005-04-16 15:20:36 -070076obj-$(CONFIG_PCCARD) += pcmcia/
77obj-$(CONFIG_DIO) += dio/
78obj-$(CONFIG_SBUS) += sbus/
79obj-$(CONFIG_ZORRO) += zorro/
80obj-$(CONFIG_MAC) += macintosh/
81obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
82obj-$(CONFIG_PARIDE) += block/paride/
83obj-$(CONFIG_TC) += tc/
David Vrabelae5d82c2008-10-24 16:46:22 +010084obj-$(CONFIG_UWB) += uwb/
Felipe Balbiedc7cb22013-03-07 11:13:43 +020085obj-$(CONFIG_USB_PHY) += usb/
Linus Torvalds1da177e2005-04-16 15:20:36 -070086obj-$(CONFIG_USB) += usb/
Linus Torvalds6015d2c2005-12-03 20:50:51 -080087obj-$(CONFIG_PCI) += usb/
Felipe Balbi4661ffc2011-04-07 10:59:34 +030088obj-$(CONFIG_USB_GADGET) += usb/
Dmitry Torokhov51c38f92006-02-19 00:22:51 -050089obj-$(CONFIG_SERIO) += input/serio/
Linus Torvalds1da177e2005-04-16 15:20:36 -070090obj-$(CONFIG_GAMEPORT) += input/gameport/
91obj-$(CONFIG_INPUT) += input/
92obj-$(CONFIG_I2O) += message/
Alessandro Zummoc58411e2006-03-27 01:16:34 -080093obj-$(CONFIG_RTC_LIB) += rtc/
Guennadi Liakhovetskia3574822009-04-21 04:22:38 -030094obj-y += i2c/ media/
Rodolfo Giomettieae9d2b2009-06-17 16:28:37 -070095obj-$(CONFIG_PPS) += pps/
Richard Cochrand94ba802011-04-22 12:03:08 +020096obj-$(CONFIG_PTP_1588_CLOCK) += ptp/
Linus Torvalds1da177e2005-04-16 15:20:36 -070097obj-$(CONFIG_W1) += w1/
Anton Vorontsov4a11b592007-05-04 00:27:45 +040098obj-$(CONFIG_POWER_SUPPLY) += power/
Jean Delvaread2f9312005-07-02 18:15:49 +020099obj-$(CONFIG_HWMON) += hwmon/
Zhang Rui203d3d42008-01-17 15:51:08 +0800100obj-$(CONFIG_THERMAL) += thermal/
Wim Van Sebroeckb7e04f82007-08-17 08:38:02 +0000101obj-$(CONFIG_WATCHDOG) += watchdog/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102obj-$(CONFIG_MD) += md/
103obj-$(CONFIG_BT) += bluetooth/
Samuel Thibaultf7511d52008-04-30 00:54:51 -0700104obj-$(CONFIG_ACCESSIBILITY) += accessibility/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105obj-$(CONFIG_ISDN) += isdn/
Alan Coxda9bb1d2006-01-18 17:44:13 -0800106obj-$(CONFIG_EDAC) += edac/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107obj-$(CONFIG_EISA) += eisa/
Glauber de Oliveira Costa7ea08092008-01-18 00:16:43 -0200108obj-y += lguest/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109obj-$(CONFIG_CPU_FREQ) += cpufreq/
Len Brown4f86d3a2007-10-03 18:58:00 -0400110obj-$(CONFIG_CPU_IDLE) += cpuidle/
Adrian Hunter52c506f2011-12-27 15:48:43 +0200111obj-y += mmc/
Alex Dubovbaf85322008-02-09 10:20:54 -0800112obj-$(CONFIG_MEMSTICK) += memstick/
Uwe Kleine-König44406732011-05-24 17:13:29 -0700113obj-y += leds/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114obj-$(CONFIG_INFINIBAND) += infiniband/
Jes Sorensen466575f2006-01-19 04:54:00 -0500115obj-$(CONFIG_SGI_SN) += sn/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116obj-y += firmware/
117obj-$(CONFIG_CRYPTO) += crypto/
Paul Mundte87eaad2005-11-07 00:58:19 -0800118obj-$(CONFIG_SUPERH) += sh/
Magnus Damm13d605d2010-02-05 11:15:15 +0000119obj-$(CONFIG_ARCH_SHMOBILE) += sh/
David Brownce44bf52013-03-12 11:41:54 -0700120obj-$(CONFIG_SSBI) += ssbi/
John Stultz592913e2010-07-13 17:56:20 -0700121ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
122obj-y += clocksource/
123endif
Shannon Nelson75896702007-10-16 01:27:41 -0700124obj-$(CONFIG_DCA) += dca/
Jiri Kosina63f38612006-12-08 18:41:30 +0100125obj-$(CONFIG_HID) += hid/
Geert Uytterhoeveneb30c722006-11-27 19:18:56 +0100126obj-$(CONFIG_PPC_PS3) += ps3/
Stephen Rothwell97e873e2007-05-01 16:26:07 +1000127obj-$(CONFIG_OF) += of/
Michael Buesch61e115a2007-09-18 15:12:50 -0400128obj-$(CONFIG_SSB) += ssb/
Rafał Miłecki8369ae32011-05-09 18:56:46 +0200129obj-$(CONFIG_BCMA) += bcma/
Rusty Russellf87d0fb2013-03-20 13:50:14 +1030130obj-$(CONFIG_VHOST_RING) += vhost/
Florian Fainelli55e331c2009-06-16 15:33:53 -0700131obj-$(CONFIG_VLYNQ) += vlynq/
Greg Kroah-Hartman35045582008-09-24 14:46:44 -0700132obj-$(CONFIG_STAGING) += staging/
Len Brown41b16dc2008-12-01 00:09:47 -0500133obj-y += platform/
Jean-Christop PLAGNIOL-VILLARD6d803ba2010-11-17 10:04:33 +0100134#common clk code
135obj-y += clk/
Ohad Ben-Cohenbd9a4c72011-02-17 09:52:03 -0800136
Rob Herring30058672013-01-28 16:13:14 +0000137obj-$(CONFIG_MAILBOX) += mailbox/
Ohad Ben-Cohenbd9a4c72011-02-17 09:52:03 -0800138obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
Lauro Ramos Venancio3e256b82011-07-01 19:31:33 -0300139obj-$(CONFIG_NFC) += nfc/
Joerg Roedel6b385b42011-07-07 12:18:48 +0200140obj-$(CONFIG_IOMMU_SUPPORT) += iommu/
Ohad Ben-Cohen400e64d2011-10-20 16:52:46 +0200141obj-$(CONFIG_REMOTEPROC) += remoteproc/
Ohad Ben-Cohenbcabbcc2011-10-20 21:10:55 +0200142obj-$(CONFIG_RPMSG) += rpmsg/
Timur Tabi6db71992011-06-09 15:52:06 -0500143
144# Virtualization drivers
145obj-$(CONFIG_VIRT_DRIVERS) += virt/
Greg Kroah-Hartman46a97192011-10-04 12:29:52 -0700146obj-$(CONFIG_HYPERV) += hv/
MyungJoo Hama3c98b82011-10-02 00:19:15 +0200147
148obj-$(CONFIG_PM_DEVFREQ) += devfreq/
MyungJoo Hamde55d872012-04-20 14:16:22 +0900149obj-$(CONFIG_EXTCON) += extcon/
Aneesh V7ec94452012-04-27 17:54:05 +0530150obj-$(CONFIG_MEMORY) += memory/
Jonathan Camerona980e042012-04-25 15:54:59 +0100151obj-$(CONFIG_IIO) += iio/
Greg Kroah-Hartmandb3b9e92012-04-26 12:34:58 -0700152obj-$(CONFIG_VME_BUS) += vme/
Greg Kroah-Hartman05e50272012-11-16 08:14:18 -0800153obj-$(CONFIG_IPACK_BUS) += ipack/
Jon Masonfce8a7b2012-11-16 19:27:12 -0700154obj-$(CONFIG_NTB) += ntb/