xref: /linux/drivers/Makefile (revision 3a6e08218f36baa9c49282ad2fe0dfbf001d8f23)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux kernel device drivers.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
51da177e4SLinus Torvalds# Rewritten to use lists instead of if-statements.
61da177e4SLinus Torvalds#
71da177e4SLinus Torvalds
889214f00SSimon Arlottobj-y				+= irqchip/
926a84b3eSKishon Vijay Abraham Iobj-y				+= bus/
1089214f00SSimon Arlott
11ff764963SKishon Vijay Abraham Iobj-$(CONFIG_GENERIC_PHY)	+= phy/
12ff764963SKishon Vijay Abraham I
132744e8afSLinus Walleij# GPIO must come after pinctrl as gpios may need to mux pins etc
142744e8afSLinus Walleijobj-y				+= pinctrl/
157444a72eSMichael Bueschobj-y				+= gpio/
160c2498f1SSascha Hauerobj-y				+= pwm/
176015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= pci/
181da177e4SLinus Torvaldsobj-$(CONFIG_PARISC)		+= parisc/
19394b701cSMatt Porterobj-$(CONFIG_RAPIDIO)		+= rapidio/
201da177e4SLinus Torvaldsobj-y				+= video/
2126717172SLen Brownobj-y				+= idle/
22061475b6SMatthew Garrett
23061475b6SMatthew Garrett# IPMI must come before ACPI in order to provide IPMI opregion support
24061475b6SMatthew Garrettobj-$(CONFIG_IPMI_HANDLER)	+= char/ipmi/
25061475b6SMatthew Garrett
26888ba6c6SLen Brownobj-$(CONFIG_ACPI)		+= acpi/
276ae6996aSFeng Tangobj-$(CONFIG_SFI)		+= sfi/
281da177e4SLinus Torvalds# PnP must come after ACPI since it will eventually need to check if acpi
291da177e4SLinus Torvalds# was used and do nothing if so
301da177e4SLinus Torvaldsobj-$(CONFIG_PNP)		+= pnp/
3187d0bab2SHiroshi DOYUobj-y				+= amba/
32a0eb221aSLinus Walleij# Many drivers will want to use DMA so this has to be made available
33a0eb221aSLinus Walleij# really early.
349a322993SPhilippe De Muyterobj-$(CONFIG_DMADEVICES)	+= dma/
351da177e4SLinus Torvalds
36*3a6e0821SSantosh Shilimkar# SOC specific infrastructure drivers.
37*3a6e0821SSantosh Shilimkarobj-y				+= soc/
38*3a6e0821SSantosh Shilimkar
39e2dbe06cSStijn Tintelobj-$(CONFIG_VIRTIO)		+= virtio/
40ad9a8612SJeremy Fitzhardingeobj-$(CONFIG_XEN)		+= xen/
41ad9a8612SJeremy Fitzhardinge
429f4dab49SDavid Brownell# regulators early, since some subsystems rely on them to initialize
439f4dab49SDavid Brownellobj-$(CONFIG_REGULATOR)		+= regulator/
449f4dab49SDavid Brownell
4561fc4131SPhilipp Zabel# reset controllers early, since gpu drivers might rely on them to initialize
4661fc4131SPhilipp Zabelobj-$(CONFIG_RESET_CONTROLLER)	+= reset/
4761fc4131SPhilipp Zabel
48ab4382d2SGreg Kroah-Hartman# tty/ comes before char/ so that the VT console is the boot-time
491da177e4SLinus Torvalds# default.
5096fd7ce5SGreg Kroah-Hartmanobj-y				+= tty/
511da177e4SLinus Torvaldsobj-y				+= char/
521da177e4SLinus Torvalds
53e6b51632SDave Airlie# gpu/ comes after char for AGP vs DRM startup
54e6b51632SDave Airlieobj-y				+= gpu/
55e6b51632SDave Airlie
567672d0b5SEvgeniy Polyakovobj-$(CONFIG_CONNECTOR)		+= connector/
577672d0b5SEvgeniy Polyakov
581da177e4SLinus Torvalds# i810fb and intelfb depend on char/agp/
591da177e4SLinus Torvaldsobj-$(CONFIG_FB_I810)           += video/i810/
601da177e4SLinus Torvaldsobj-$(CONFIG_FB_INTEL)          += video/intelfb/
611da177e4SLinus Torvalds
621da177e4SLinus Torvaldsobj-$(CONFIG_PARPORT)		+= parport/
630329326eSMatti J. Aaltonenobj-y				+= base/ block/ misc/ mfd/ nfc/
641da177e4SLinus Torvaldsobj-$(CONFIG_NUBUS)		+= nubus/
6545941d04SSoeren Sonnenburgobj-y				+= macintosh/
661da177e4SLinus Torvaldsobj-$(CONFIG_IDE)		+= ide/
671da177e4SLinus Torvaldsobj-$(CONFIG_SCSI)		+= scsi/
68c6fd2807SJeff Garzikobj-$(CONFIG_ATA)		+= ata/
69c66ac9dbSNicholas Bellingerobj-$(CONFIG_TARGET_CORE)	+= target/
709289d4efSSudhakar Rajashekharaobj-$(CONFIG_MTD)		+= mtd/
719289d4efSSudhakar Rajashekharaobj-$(CONFIG_SPI)		+= spi/
725a86bf34SKenneth Heitkeobj-$(CONFIG_SPMI)		+= spmi/
73a056ab8cSCarlos Chineaobj-y				+= hsi/
740c406263SArjan van de Venobj-y				+= net/
750c406263SArjan van de Venobj-$(CONFIG_ATM)		+= atm/
761da177e4SLinus Torvaldsobj-$(CONFIG_FUSION)		+= message/
778702d33aSStefan Richterobj-y				+= firewire/
78beafc54cSHans J. Kochobj-$(CONFIG_UIO)		+= uio/
79cba3345cSAlex Williamsonobj-$(CONFIG_VFIO)		+= vfio/
801da177e4SLinus Torvaldsobj-y				+= cdrom/
8170e84049SMiguel Ojeda Sandonisobj-y				+= auxdisplay/
821da177e4SLinus Torvaldsobj-$(CONFIG_PCCARD)		+= pcmcia/
831da177e4SLinus Torvaldsobj-$(CONFIG_DIO)		+= dio/
841da177e4SLinus Torvaldsobj-$(CONFIG_SBUS)		+= sbus/
851da177e4SLinus Torvaldsobj-$(CONFIG_ZORRO)		+= zorro/
861da177e4SLinus Torvaldsobj-$(CONFIG_MAC)		+= macintosh/
871da177e4SLinus Torvaldsobj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
881da177e4SLinus Torvaldsobj-$(CONFIG_PARIDE) 		+= block/paride/
891da177e4SLinus Torvaldsobj-$(CONFIG_TC)		+= tc/
90ae5d82cbSDavid Vrabelobj-$(CONFIG_UWB)		+= uwb/
91edc7cb2eSFelipe Balbiobj-$(CONFIG_USB_PHY)		+= usb/
921da177e4SLinus Torvaldsobj-$(CONFIG_USB)		+= usb/
936015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= usb/
944661ffc9SFelipe Balbiobj-$(CONFIG_USB_GADGET)	+= usb/
9551c38f9bSDmitry Torokhovobj-$(CONFIG_SERIO)		+= input/serio/
961da177e4SLinus Torvaldsobj-$(CONFIG_GAMEPORT)		+= input/gameport/
971da177e4SLinus Torvaldsobj-$(CONFIG_INPUT)		+= input/
981da177e4SLinus Torvaldsobj-$(CONFIG_I2O)		+= message/
99c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc/
100a357482aSGuennadi Liakhovetskiobj-y				+= i2c/ media/
101eae9d2baSRodolfo Giomettiobj-$(CONFIG_PPS)		+= pps/
102d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
1031da177e4SLinus Torvaldsobj-$(CONFIG_W1)		+= w1/
1044a11b59dSAnton Vorontsovobj-$(CONFIG_POWER_SUPPLY)	+= power/
105ad2f931dSJean Delvareobj-$(CONFIG_HWMON)		+= hwmon/
106203d3d4aSZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal/
107b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG)		+= watchdog/
1081da177e4SLinus Torvaldsobj-$(CONFIG_MD)		+= md/
1091da177e4SLinus Torvaldsobj-$(CONFIG_BT)		+= bluetooth/
110f7511d5fSSamuel Thibaultobj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
1111da177e4SLinus Torvaldsobj-$(CONFIG_ISDN)		+= isdn/
112da9bb1d2SAlan Coxobj-$(CONFIG_EDAC)		+= edac/
1131da177e4SLinus Torvaldsobj-$(CONFIG_EISA)		+= eisa/
1147ea08093SGlauber de Oliveira Costaobj-y				+= lguest/
1151da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ)		+= cpufreq/
1164f86d3a8SLen Brownobj-$(CONFIG_CPU_IDLE)		+= cpuidle/
11752c506f0SAdrian Hunterobj-y				+= mmc/
118baf8532aSAlex Dubovobj-$(CONFIG_MEMSTICK)		+= memstick/
1194440673aSUwe Kleine-Königobj-y				+= leds/
1201da177e4SLinus Torvaldsobj-$(CONFIG_INFINIBAND)	+= infiniband/
121466575f4SJes Sorensenobj-$(CONFIG_SGI_SN)		+= sn/
1221da177e4SLinus Torvaldsobj-y				+= firmware/
1231da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO)		+= crypto/
124e87eaad1SPaul Mundtobj-$(CONFIG_SUPERH)		+= sh/
125bf98c1eaSLaurent Pinchartobj-$(CONFIG_ARCH_SHMOBILE_LEGACY)	+= sh/
126592913ecSJohn Stultzifndef CONFIG_ARCH_USES_GETTIMEOFFSET
127592913ecSJohn Stultzobj-y				+= clocksource/
128592913ecSJohn Stultzendif
1297589670fSShannon Nelsonobj-$(CONFIG_DCA)		+= dca/
13063f3861dSJiri Kosinaobj-$(CONFIG_HID)		+= hid/
131eb30c720SGeert Uytterhoevenobj-$(CONFIG_PPC_PS3)		+= ps3/
13297e873e5SStephen Rothwellobj-$(CONFIG_OF)		+= of/
13361e115a5SMichael Bueschobj-$(CONFIG_SSB)		+= ssb/
1348369ae33SRafał Miłeckiobj-$(CONFIG_BCMA)		+= bcma/
135f87d0fbbSRusty Russellobj-$(CONFIG_VHOST_RING)	+= vhost/
13655e331cfSFlorian Fainelliobj-$(CONFIG_VLYNQ)		+= vlynq/
13735045589SGreg Kroah-Hartmanobj-$(CONFIG_STAGING)		+= staging/
13841b16dceSLen Brownobj-y				+= platform/
1396d803ba7SJean-Christop PLAGNIOL-VILLARD#common clk code
1406d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y				+= clk/
141bd9a4c7dSOhad Ben-Cohen
14230058677SRob Herringobj-$(CONFIG_MAILBOX)		+= mailbox/
143bd9a4c7dSOhad Ben-Cohenobj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
1443e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC)		+= nfc/
1456b385b46SJoerg Roedelobj-$(CONFIG_IOMMU_SUPPORT)	+= iommu/
146400e64dfSOhad Ben-Cohenobj-$(CONFIG_REMOTEPROC)	+= remoteproc/
147bcabbccaSOhad Ben-Cohenobj-$(CONFIG_RPMSG)		+= rpmsg/
1486db71994STimur Tabi
1496db71994STimur Tabi# Virtualization drivers
1506db71994STimur Tabiobj-$(CONFIG_VIRT_DRIVERS)	+= virt/
15146a97191SGreg Kroah-Hartmanobj-$(CONFIG_HYPERV)		+= hv/
152a3c98b8bSMyungJoo Ham
153a3c98b8bSMyungJoo Hamobj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
154de55d871SMyungJoo Hamobj-$(CONFIG_EXTCON)		+= extcon/
1557ec94453SAneesh Vobj-$(CONFIG_MEMORY)		+= memory/
156a980e046SJonathan Cameronobj-$(CONFIG_IIO)		+= iio/
157db3b9e99SGreg Kroah-Hartmanobj-$(CONFIG_VME_BUS)		+= vme/
15805e5027eSGreg Kroah-Hartmanobj-$(CONFIG_IPACK_BUS)		+= ipack/
159fce8a7bbSJon Masonobj-$(CONFIG_NTB)		+= ntb/
1609c9f32edSAlessandro Rubiniobj-$(CONFIG_FMC)		+= fmc/
16112cc4b38SSrinivas Pandruvadaobj-$(CONFIG_POWERCAP)		+= powercap/
1623764e82eSJohannes Thumshirnobj-$(CONFIG_MCB)		+= mcb/
163