xref: /openbmc/linux/drivers/Makefile (revision fce8a7bb)
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
112744e8afSLinus Walleij# GPIO must come after pinctrl as gpios may need to mux pins etc
122744e8afSLinus Walleijobj-y				+= pinctrl/
137444a72eSMichael Bueschobj-y				+= gpio/
140c2498f1SSascha Hauerobj-y				+= pwm/
156015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= pci/
161da177e4SLinus Torvaldsobj-$(CONFIG_PARISC)		+= parisc/
17394b701cSMatt Porterobj-$(CONFIG_RAPIDIO)		+= rapidio/
181da177e4SLinus Torvaldsobj-y				+= video/
1926717172SLen Brownobj-y				+= idle/
20061475b6SMatthew Garrett
21061475b6SMatthew Garrett# IPMI must come before ACPI in order to provide IPMI opregion support
22061475b6SMatthew Garrettobj-$(CONFIG_IPMI_HANDLER)	+= char/ipmi/
23061475b6SMatthew Garrett
24888ba6c6SLen Brownobj-$(CONFIG_ACPI)		+= acpi/
256ae6996aSFeng Tangobj-$(CONFIG_SFI)		+= sfi/
261da177e4SLinus Torvalds# PnP must come after ACPI since it will eventually need to check if acpi
271da177e4SLinus Torvalds# was used and do nothing if so
281da177e4SLinus Torvaldsobj-$(CONFIG_PNP)		+= pnp/
2987d0bab2SHiroshi DOYUobj-y				+= amba/
30a0eb221aSLinus Walleij# Many drivers will want to use DMA so this has to be made available
31a0eb221aSLinus Walleij# really early.
32a0eb221aSLinus Walleijobj-$(CONFIG_DMA_ENGINE)	+= dma/
331da177e4SLinus Torvalds
34e2dbe06cSStijn Tintelobj-$(CONFIG_VIRTIO)		+= virtio/
35ad9a8612SJeremy Fitzhardingeobj-$(CONFIG_XEN)		+= xen/
36ad9a8612SJeremy Fitzhardinge
379f4dab49SDavid Brownell# regulators early, since some subsystems rely on them to initialize
389f4dab49SDavid Brownellobj-$(CONFIG_REGULATOR)		+= regulator/
399f4dab49SDavid Brownell
40ab4382d2SGreg Kroah-Hartman# tty/ comes before char/ so that the VT console is the boot-time
411da177e4SLinus Torvalds# default.
4296fd7ce5SGreg Kroah-Hartmanobj-y				+= tty/
431da177e4SLinus Torvaldsobj-y				+= char/
441da177e4SLinus Torvalds
45e6b51632SDave Airlie# gpu/ comes after char for AGP vs DRM startup
46e6b51632SDave Airlieobj-y				+= gpu/
47e6b51632SDave Airlie
487672d0b5SEvgeniy Polyakovobj-$(CONFIG_CONNECTOR)		+= connector/
497672d0b5SEvgeniy Polyakov
501da177e4SLinus Torvalds# i810fb and intelfb depend on char/agp/
511da177e4SLinus Torvaldsobj-$(CONFIG_FB_I810)           += video/i810/
521da177e4SLinus Torvaldsobj-$(CONFIG_FB_INTEL)          += video/intelfb/
531da177e4SLinus Torvalds
541da177e4SLinus Torvaldsobj-$(CONFIG_PARPORT)		+= parport/
550329326eSMatti J. Aaltonenobj-y				+= base/ block/ misc/ mfd/ nfc/
561da177e4SLinus Torvaldsobj-$(CONFIG_NUBUS)		+= nubus/
5745941d04SSoeren Sonnenburgobj-y				+= macintosh/
581da177e4SLinus Torvaldsobj-$(CONFIG_IDE)		+= ide/
591da177e4SLinus Torvaldsobj-$(CONFIG_SCSI)		+= scsi/
60c6fd2807SJeff Garzikobj-$(CONFIG_ATA)		+= ata/
61c66ac9dbSNicholas Bellingerobj-$(CONFIG_TARGET_CORE)	+= target/
629289d4efSSudhakar Rajashekharaobj-$(CONFIG_MTD)		+= mtd/
639289d4efSSudhakar Rajashekharaobj-$(CONFIG_SPI)		+= spi/
64a056ab8cSCarlos Chineaobj-y				+= hsi/
650c406263SArjan van de Venobj-y				+= net/
660c406263SArjan van de Venobj-$(CONFIG_ATM)		+= atm/
671da177e4SLinus Torvaldsobj-$(CONFIG_FUSION)		+= message/
688702d33aSStefan Richterobj-y				+= firewire/
69beafc54cSHans J. Kochobj-$(CONFIG_UIO)		+= uio/
70cba3345cSAlex Williamsonobj-$(CONFIG_VFIO)		+= vfio/
711da177e4SLinus Torvaldsobj-y				+= cdrom/
7270e84049SMiguel Ojeda Sandonisobj-y				+= auxdisplay/
731da177e4SLinus Torvaldsobj-$(CONFIG_PCCARD)		+= pcmcia/
741da177e4SLinus Torvaldsobj-$(CONFIG_DIO)		+= dio/
751da177e4SLinus Torvaldsobj-$(CONFIG_SBUS)		+= sbus/
761da177e4SLinus Torvaldsobj-$(CONFIG_ZORRO)		+= zorro/
771da177e4SLinus Torvaldsobj-$(CONFIG_MAC)		+= macintosh/
781da177e4SLinus Torvaldsobj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
791da177e4SLinus Torvaldsobj-$(CONFIG_PARIDE) 		+= block/paride/
801da177e4SLinus Torvaldsobj-$(CONFIG_TC)		+= tc/
81ae5d82cbSDavid Vrabelobj-$(CONFIG_UWB)		+= uwb/
824661ffc9SFelipe Balbiobj-$(CONFIG_USB_OTG_UTILS)	+= usb/
831da177e4SLinus Torvaldsobj-$(CONFIG_USB)		+= usb/
846015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= usb/
854661ffc9SFelipe Balbiobj-$(CONFIG_USB_GADGET)	+= usb/
8651c38f9bSDmitry Torokhovobj-$(CONFIG_SERIO)		+= input/serio/
871da177e4SLinus Torvaldsobj-$(CONFIG_GAMEPORT)		+= input/gameport/
881da177e4SLinus Torvaldsobj-$(CONFIG_INPUT)		+= input/
891da177e4SLinus Torvaldsobj-$(CONFIG_I2O)		+= message/
90c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc/
91a357482aSGuennadi Liakhovetskiobj-y				+= i2c/ media/
92eae9d2baSRodolfo Giomettiobj-$(CONFIG_PPS)		+= pps/
93d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
941da177e4SLinus Torvaldsobj-$(CONFIG_W1)		+= w1/
954a11b59dSAnton Vorontsovobj-$(CONFIG_POWER_SUPPLY)	+= power/
96ad2f931dSJean Delvareobj-$(CONFIG_HWMON)		+= hwmon/
97203d3d4aSZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal/
98b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG)		+= watchdog/
991da177e4SLinus Torvaldsobj-$(CONFIG_MD)		+= md/
1001da177e4SLinus Torvaldsobj-$(CONFIG_BT)		+= bluetooth/
101f7511d5fSSamuel Thibaultobj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
1021da177e4SLinus Torvaldsobj-$(CONFIG_ISDN)		+= isdn/
103da9bb1d2SAlan Coxobj-$(CONFIG_EDAC)		+= edac/
1041da177e4SLinus Torvaldsobj-$(CONFIG_EISA)		+= eisa/
1057ea08093SGlauber de Oliveira Costaobj-y				+= lguest/
1061da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ)		+= cpufreq/
1074f86d3a8SLen Brownobj-$(CONFIG_CPU_IDLE)		+= cpuidle/
10852c506f0SAdrian Hunterobj-y				+= mmc/
109baf8532aSAlex Dubovobj-$(CONFIG_MEMSTICK)		+= memstick/
1104440673aSUwe Kleine-Königobj-y				+= leds/
1111da177e4SLinus Torvaldsobj-$(CONFIG_INFINIBAND)	+= infiniband/
112466575f4SJes Sorensenobj-$(CONFIG_SGI_SN)		+= sn/
1131da177e4SLinus Torvaldsobj-y				+= firmware/
1141da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO)		+= crypto/
115e87eaad1SPaul Mundtobj-$(CONFIG_SUPERH)		+= sh/
11613d605deSMagnus Dammobj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
117592913ecSJohn Stultzifndef CONFIG_ARCH_USES_GETTIMEOFFSET
118592913ecSJohn Stultzobj-y				+= clocksource/
119592913ecSJohn Stultzendif
1207589670fSShannon Nelsonobj-$(CONFIG_DCA)		+= dca/
12163f3861dSJiri Kosinaobj-$(CONFIG_HID)		+= hid/
122eb30c720SGeert Uytterhoevenobj-$(CONFIG_PPC_PS3)		+= ps3/
12397e873e5SStephen Rothwellobj-$(CONFIG_OF)		+= of/
12461e115a5SMichael Bueschobj-$(CONFIG_SSB)		+= ssb/
1258369ae33SRafał Miłeckiobj-$(CONFIG_BCMA)		+= bcma/
1263a4d5c94SMichael S. Tsirkinobj-$(CONFIG_VHOST_NET)		+= vhost/
12755e331cfSFlorian Fainelliobj-$(CONFIG_VLYNQ)		+= vlynq/
12835045589SGreg Kroah-Hartmanobj-$(CONFIG_STAGING)		+= staging/
12941b16dceSLen Brownobj-y				+= platform/
1306d803ba7SJean-Christop PLAGNIOL-VILLARD#common clk code
1316d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y				+= clk/
132bd9a4c7dSOhad Ben-Cohen
133bd9a4c7dSOhad Ben-Cohenobj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
1343e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC)		+= nfc/
1356b385b46SJoerg Roedelobj-$(CONFIG_IOMMU_SUPPORT)	+= iommu/
136400e64dfSOhad Ben-Cohenobj-$(CONFIG_REMOTEPROC)	+= remoteproc/
137bcabbccaSOhad Ben-Cohenobj-$(CONFIG_RPMSG)		+= rpmsg/
1386db71994STimur Tabi
1396db71994STimur Tabi# Virtualization drivers
1406db71994STimur Tabiobj-$(CONFIG_VIRT_DRIVERS)	+= virt/
14146a97191SGreg Kroah-Hartmanobj-$(CONFIG_HYPERV)		+= hv/
142a3c98b8bSMyungJoo Ham
143a3c98b8bSMyungJoo Hamobj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
144de55d871SMyungJoo Hamobj-$(CONFIG_EXTCON)		+= extcon/
1457ec94453SAneesh Vobj-$(CONFIG_MEMORY)		+= memory/
146a980e046SJonathan Cameronobj-$(CONFIG_IIO)		+= iio/
147db3b9e99SGreg Kroah-Hartmanobj-$(CONFIG_VME_BUS)		+= vme/
14805e5027eSGreg Kroah-Hartmanobj-$(CONFIG_IPACK_BUS)		+= ipack/
149fce8a7bbSJon Masonobj-$(CONFIG_NTB)		+= ntb/
150