xref: /openbmc/linux/drivers/Makefile (revision 5a86bf34)
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
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/
695a86bf34SKenneth Heitkeobj-$(CONFIG_SPMI)		+= spmi/
70a056ab8cSCarlos Chineaobj-y				+= hsi/
710c406263SArjan van de Venobj-y				+= net/
720c406263SArjan van de Venobj-$(CONFIG_ATM)		+= atm/
731da177e4SLinus Torvaldsobj-$(CONFIG_FUSION)		+= message/
748702d33aSStefan Richterobj-y				+= firewire/
75beafc54cSHans J. Kochobj-$(CONFIG_UIO)		+= uio/
76cba3345cSAlex Williamsonobj-$(CONFIG_VFIO)		+= vfio/
771da177e4SLinus Torvaldsobj-y				+= cdrom/
7870e84049SMiguel Ojeda Sandonisobj-y				+= auxdisplay/
791da177e4SLinus Torvaldsobj-$(CONFIG_PCCARD)		+= pcmcia/
801da177e4SLinus Torvaldsobj-$(CONFIG_DIO)		+= dio/
811da177e4SLinus Torvaldsobj-$(CONFIG_SBUS)		+= sbus/
821da177e4SLinus Torvaldsobj-$(CONFIG_ZORRO)		+= zorro/
831da177e4SLinus Torvaldsobj-$(CONFIG_MAC)		+= macintosh/
841da177e4SLinus Torvaldsobj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
851da177e4SLinus Torvaldsobj-$(CONFIG_PARIDE) 		+= block/paride/
861da177e4SLinus Torvaldsobj-$(CONFIG_TC)		+= tc/
87ae5d82cbSDavid Vrabelobj-$(CONFIG_UWB)		+= uwb/
88edc7cb2eSFelipe Balbiobj-$(CONFIG_USB_PHY)		+= usb/
891da177e4SLinus Torvaldsobj-$(CONFIG_USB)		+= usb/
906015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= usb/
914661ffc9SFelipe Balbiobj-$(CONFIG_USB_GADGET)	+= usb/
9251c38f9bSDmitry Torokhovobj-$(CONFIG_SERIO)		+= input/serio/
931da177e4SLinus Torvaldsobj-$(CONFIG_GAMEPORT)		+= input/gameport/
941da177e4SLinus Torvaldsobj-$(CONFIG_INPUT)		+= input/
951da177e4SLinus Torvaldsobj-$(CONFIG_I2O)		+= message/
96c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc/
97a357482aSGuennadi Liakhovetskiobj-y				+= i2c/ media/
98eae9d2baSRodolfo Giomettiobj-$(CONFIG_PPS)		+= pps/
99d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
1001da177e4SLinus Torvaldsobj-$(CONFIG_W1)		+= w1/
1014a11b59dSAnton Vorontsovobj-$(CONFIG_POWER_SUPPLY)	+= power/
102ad2f931dSJean Delvareobj-$(CONFIG_HWMON)		+= hwmon/
103203d3d4aSZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal/
104b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG)		+= watchdog/
1051da177e4SLinus Torvaldsobj-$(CONFIG_MD)		+= md/
1061da177e4SLinus Torvaldsobj-$(CONFIG_BT)		+= bluetooth/
107f7511d5fSSamuel Thibaultobj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
1081da177e4SLinus Torvaldsobj-$(CONFIG_ISDN)		+= isdn/
109da9bb1d2SAlan Coxobj-$(CONFIG_EDAC)		+= edac/
1101da177e4SLinus Torvaldsobj-$(CONFIG_EISA)		+= eisa/
1117ea08093SGlauber de Oliveira Costaobj-y				+= lguest/
1121da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ)		+= cpufreq/
1134f86d3a8SLen Brownobj-$(CONFIG_CPU_IDLE)		+= cpuidle/
11452c506f0SAdrian Hunterobj-y				+= mmc/
115baf8532aSAlex Dubovobj-$(CONFIG_MEMSTICK)		+= memstick/
1164440673aSUwe Kleine-Königobj-y				+= leds/
1171da177e4SLinus Torvaldsobj-$(CONFIG_INFINIBAND)	+= infiniband/
118466575f4SJes Sorensenobj-$(CONFIG_SGI_SN)		+= sn/
1191da177e4SLinus Torvaldsobj-y				+= firmware/
1201da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO)		+= crypto/
121e87eaad1SPaul Mundtobj-$(CONFIG_SUPERH)		+= sh/
122bf98c1eaSLaurent Pinchartobj-$(CONFIG_ARCH_SHMOBILE_LEGACY)	+= sh/
123592913ecSJohn Stultzifndef CONFIG_ARCH_USES_GETTIMEOFFSET
124592913ecSJohn Stultzobj-y				+= clocksource/
125592913ecSJohn Stultzendif
1267589670fSShannon Nelsonobj-$(CONFIG_DCA)		+= dca/
12763f3861dSJiri Kosinaobj-$(CONFIG_HID)		+= hid/
128eb30c720SGeert Uytterhoevenobj-$(CONFIG_PPC_PS3)		+= ps3/
12997e873e5SStephen Rothwellobj-$(CONFIG_OF)		+= of/
13061e115a5SMichael Bueschobj-$(CONFIG_SSB)		+= ssb/
1318369ae33SRafał Miłeckiobj-$(CONFIG_BCMA)		+= bcma/
132f87d0fbbSRusty Russellobj-$(CONFIG_VHOST_RING)	+= vhost/
13355e331cfSFlorian Fainelliobj-$(CONFIG_VLYNQ)		+= vlynq/
13435045589SGreg Kroah-Hartmanobj-$(CONFIG_STAGING)		+= staging/
13541b16dceSLen Brownobj-y				+= platform/
1366d803ba7SJean-Christop PLAGNIOL-VILLARD#common clk code
1376d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y				+= clk/
138bd9a4c7dSOhad Ben-Cohen
13930058677SRob Herringobj-$(CONFIG_MAILBOX)		+= mailbox/
140bd9a4c7dSOhad Ben-Cohenobj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
1413e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC)		+= nfc/
1426b385b46SJoerg Roedelobj-$(CONFIG_IOMMU_SUPPORT)	+= iommu/
143400e64dfSOhad Ben-Cohenobj-$(CONFIG_REMOTEPROC)	+= remoteproc/
144bcabbccaSOhad Ben-Cohenobj-$(CONFIG_RPMSG)		+= rpmsg/
1456db71994STimur Tabi
1466db71994STimur Tabi# Virtualization drivers
1476db71994STimur Tabiobj-$(CONFIG_VIRT_DRIVERS)	+= virt/
14846a97191SGreg Kroah-Hartmanobj-$(CONFIG_HYPERV)		+= hv/
149a3c98b8bSMyungJoo Ham
150a3c98b8bSMyungJoo Hamobj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
151de55d871SMyungJoo Hamobj-$(CONFIG_EXTCON)		+= extcon/
1527ec94453SAneesh Vobj-$(CONFIG_MEMORY)		+= memory/
153a980e046SJonathan Cameronobj-$(CONFIG_IIO)		+= iio/
154db3b9e99SGreg Kroah-Hartmanobj-$(CONFIG_VME_BUS)		+= vme/
15505e5027eSGreg Kroah-Hartmanobj-$(CONFIG_IPACK_BUS)		+= ipack/
156fce8a7bbSJon Masonobj-$(CONFIG_NTB)		+= ntb/
1579c9f32edSAlessandro Rubiniobj-$(CONFIG_FMC)		+= fmc/
15812cc4b38SSrinivas Pandruvadaobj-$(CONFIG_POWERCAP)		+= powercap/
159