xref: /linux/drivers/Makefile (revision ff764963479a1b18721ab96e531404c50fefe8b1)
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
11*ff764963SKishon Vijay Abraham Iobj-$(CONFIG_GENERIC_PHY)	+= phy/
12*ff764963SKishon 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
36e2dbe06cSStijn Tintelobj-$(CONFIG_VIRTIO)		+= virtio/
37ad9a8612SJeremy Fitzhardingeobj-$(CONFIG_XEN)		+= xen/
38ad9a8612SJeremy Fitzhardinge
399f4dab49SDavid Brownell# regulators early, since some subsystems rely on them to initialize
409f4dab49SDavid Brownellobj-$(CONFIG_REGULATOR)		+= regulator/
419f4dab49SDavid Brownell
4261fc4131SPhilipp Zabel# reset controllers early, since gpu drivers might rely on them to initialize
4361fc4131SPhilipp Zabelobj-$(CONFIG_RESET_CONTROLLER)	+= reset/
4461fc4131SPhilipp Zabel
45ab4382d2SGreg Kroah-Hartman# tty/ comes before char/ so that the VT console is the boot-time
461da177e4SLinus Torvalds# default.
4796fd7ce5SGreg Kroah-Hartmanobj-y				+= tty/
481da177e4SLinus Torvaldsobj-y				+= char/
491da177e4SLinus Torvalds
50e6b51632SDave Airlie# gpu/ comes after char for AGP vs DRM startup
51e6b51632SDave Airlieobj-y				+= gpu/
52e6b51632SDave Airlie
537672d0b5SEvgeniy Polyakovobj-$(CONFIG_CONNECTOR)		+= connector/
547672d0b5SEvgeniy Polyakov
551da177e4SLinus Torvalds# i810fb and intelfb depend on char/agp/
561da177e4SLinus Torvaldsobj-$(CONFIG_FB_I810)           += video/i810/
571da177e4SLinus Torvaldsobj-$(CONFIG_FB_INTEL)          += video/intelfb/
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsobj-$(CONFIG_PARPORT)		+= parport/
600329326eSMatti J. Aaltonenobj-y				+= base/ block/ misc/ mfd/ nfc/
611da177e4SLinus Torvaldsobj-$(CONFIG_NUBUS)		+= nubus/
6245941d04SSoeren Sonnenburgobj-y				+= macintosh/
631da177e4SLinus Torvaldsobj-$(CONFIG_IDE)		+= ide/
641da177e4SLinus Torvaldsobj-$(CONFIG_SCSI)		+= scsi/
65c6fd2807SJeff Garzikobj-$(CONFIG_ATA)		+= ata/
66c66ac9dbSNicholas Bellingerobj-$(CONFIG_TARGET_CORE)	+= target/
679289d4efSSudhakar Rajashekharaobj-$(CONFIG_MTD)		+= mtd/
689289d4efSSudhakar Rajashekharaobj-$(CONFIG_SPI)		+= spi/
69a056ab8cSCarlos Chineaobj-y				+= hsi/
700c406263SArjan van de Venobj-y				+= net/
710c406263SArjan van de Venobj-$(CONFIG_ATM)		+= atm/
721da177e4SLinus Torvaldsobj-$(CONFIG_FUSION)		+= message/
738702d33aSStefan Richterobj-y				+= firewire/
74beafc54cSHans J. Kochobj-$(CONFIG_UIO)		+= uio/
75cba3345cSAlex Williamsonobj-$(CONFIG_VFIO)		+= vfio/
761da177e4SLinus Torvaldsobj-y				+= cdrom/
7770e84049SMiguel Ojeda Sandonisobj-y				+= auxdisplay/
781da177e4SLinus Torvaldsobj-$(CONFIG_PCCARD)		+= pcmcia/
791da177e4SLinus Torvaldsobj-$(CONFIG_DIO)		+= dio/
801da177e4SLinus Torvaldsobj-$(CONFIG_SBUS)		+= sbus/
811da177e4SLinus Torvaldsobj-$(CONFIG_ZORRO)		+= zorro/
821da177e4SLinus Torvaldsobj-$(CONFIG_MAC)		+= macintosh/
831da177e4SLinus Torvaldsobj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
841da177e4SLinus Torvaldsobj-$(CONFIG_PARIDE) 		+= block/paride/
851da177e4SLinus Torvaldsobj-$(CONFIG_TC)		+= tc/
86ae5d82cbSDavid Vrabelobj-$(CONFIG_UWB)		+= uwb/
87edc7cb2eSFelipe Balbiobj-$(CONFIG_USB_PHY)		+= usb/
881da177e4SLinus Torvaldsobj-$(CONFIG_USB)		+= usb/
896015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= usb/
904661ffc9SFelipe Balbiobj-$(CONFIG_USB_GADGET)	+= usb/
9151c38f9bSDmitry Torokhovobj-$(CONFIG_SERIO)		+= input/serio/
921da177e4SLinus Torvaldsobj-$(CONFIG_GAMEPORT)		+= input/gameport/
931da177e4SLinus Torvaldsobj-$(CONFIG_INPUT)		+= input/
941da177e4SLinus Torvaldsobj-$(CONFIG_I2O)		+= message/
95c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc/
96a357482aSGuennadi Liakhovetskiobj-y				+= i2c/ media/
97eae9d2baSRodolfo Giomettiobj-$(CONFIG_PPS)		+= pps/
98d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
991da177e4SLinus Torvaldsobj-$(CONFIG_W1)		+= w1/
1004a11b59dSAnton Vorontsovobj-$(CONFIG_POWER_SUPPLY)	+= power/
101ad2f931dSJean Delvareobj-$(CONFIG_HWMON)		+= hwmon/
102203d3d4aSZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal/
103b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG)		+= watchdog/
1041da177e4SLinus Torvaldsobj-$(CONFIG_MD)		+= md/
1051da177e4SLinus Torvaldsobj-$(CONFIG_BT)		+= bluetooth/
106f7511d5fSSamuel Thibaultobj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
1071da177e4SLinus Torvaldsobj-$(CONFIG_ISDN)		+= isdn/
108da9bb1d2SAlan Coxobj-$(CONFIG_EDAC)		+= edac/
1091da177e4SLinus Torvaldsobj-$(CONFIG_EISA)		+= eisa/
1107ea08093SGlauber de Oliveira Costaobj-y				+= lguest/
1111da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ)		+= cpufreq/
1124f86d3a8SLen Brownobj-$(CONFIG_CPU_IDLE)		+= cpuidle/
11352c506f0SAdrian Hunterobj-y				+= mmc/
114baf8532aSAlex Dubovobj-$(CONFIG_MEMSTICK)		+= memstick/
1154440673aSUwe Kleine-Königobj-y				+= leds/
1161da177e4SLinus Torvaldsobj-$(CONFIG_INFINIBAND)	+= infiniband/
117466575f4SJes Sorensenobj-$(CONFIG_SGI_SN)		+= sn/
1181da177e4SLinus Torvaldsobj-y				+= firmware/
1191da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO)		+= crypto/
120e87eaad1SPaul Mundtobj-$(CONFIG_SUPERH)		+= sh/
12113d605deSMagnus Dammobj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
122592913ecSJohn Stultzifndef CONFIG_ARCH_USES_GETTIMEOFFSET
123592913ecSJohn Stultzobj-y				+= clocksource/
124592913ecSJohn Stultzendif
1257589670fSShannon Nelsonobj-$(CONFIG_DCA)		+= dca/
12663f3861dSJiri Kosinaobj-$(CONFIG_HID)		+= hid/
127eb30c720SGeert Uytterhoevenobj-$(CONFIG_PPC_PS3)		+= ps3/
12897e873e5SStephen Rothwellobj-$(CONFIG_OF)		+= of/
12961e115a5SMichael Bueschobj-$(CONFIG_SSB)		+= ssb/
1308369ae33SRafał Miłeckiobj-$(CONFIG_BCMA)		+= bcma/
131f87d0fbbSRusty Russellobj-$(CONFIG_VHOST_RING)	+= vhost/
13255e331cfSFlorian Fainelliobj-$(CONFIG_VLYNQ)		+= vlynq/
13335045589SGreg Kroah-Hartmanobj-$(CONFIG_STAGING)		+= staging/
13441b16dceSLen Brownobj-y				+= platform/
1356d803ba7SJean-Christop PLAGNIOL-VILLARD#common clk code
1366d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y				+= clk/
137bd9a4c7dSOhad Ben-Cohen
13830058677SRob Herringobj-$(CONFIG_MAILBOX)		+= mailbox/
139bd9a4c7dSOhad Ben-Cohenobj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
1403e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC)		+= nfc/
1416b385b46SJoerg Roedelobj-$(CONFIG_IOMMU_SUPPORT)	+= iommu/
142400e64dfSOhad Ben-Cohenobj-$(CONFIG_REMOTEPROC)	+= remoteproc/
143bcabbccaSOhad Ben-Cohenobj-$(CONFIG_RPMSG)		+= rpmsg/
1446db71994STimur Tabi
1456db71994STimur Tabi# Virtualization drivers
1466db71994STimur Tabiobj-$(CONFIG_VIRT_DRIVERS)	+= virt/
14746a97191SGreg Kroah-Hartmanobj-$(CONFIG_HYPERV)		+= hv/
148a3c98b8bSMyungJoo Ham
149a3c98b8bSMyungJoo Hamobj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
150de55d871SMyungJoo Hamobj-$(CONFIG_EXTCON)		+= extcon/
1517ec94453SAneesh Vobj-$(CONFIG_MEMORY)		+= memory/
152a980e046SJonathan Cameronobj-$(CONFIG_IIO)		+= iio/
153db3b9e99SGreg Kroah-Hartmanobj-$(CONFIG_VME_BUS)		+= vme/
15405e5027eSGreg Kroah-Hartmanobj-$(CONFIG_IPACK_BUS)		+= ipack/
155fce8a7bbSJon Masonobj-$(CONFIG_NTB)		+= ntb/
1569c9f32edSAlessandro Rubiniobj-$(CONFIG_FMC)		+= fmc/
157