xref: /openbmc/linux/drivers/Makefile (revision db3b9e99)
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
82744e8afSLinus Walleij# GPIO must come after pinctrl as gpios may need to mux pins etc
92744e8afSLinus Walleijobj-y				+= pinctrl/
107444a72eSMichael Bueschobj-y				+= gpio/
116015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= pci/
121da177e4SLinus Torvaldsobj-$(CONFIG_PARISC)		+= parisc/
13394b701cSMatt Porterobj-$(CONFIG_RAPIDIO)		+= rapidio/
141da177e4SLinus Torvaldsobj-y				+= video/
1526717172SLen Brownobj-y				+= idle/
16888ba6c6SLen Brownobj-$(CONFIG_ACPI)		+= acpi/
176ae6996aSFeng Tangobj-$(CONFIG_SFI)		+= sfi/
181da177e4SLinus Torvalds# PnP must come after ACPI since it will eventually need to check if acpi
191da177e4SLinus Torvalds# was used and do nothing if so
201da177e4SLinus Torvaldsobj-$(CONFIG_PNP)		+= pnp/
21de1d815fSRussell Kingobj-$(CONFIG_ARM_AMBA)		+= amba/
22a0eb221aSLinus Walleij# Many drivers will want to use DMA so this has to be made available
23a0eb221aSLinus Walleij# really early.
24a0eb221aSLinus Walleijobj-$(CONFIG_DMA_ENGINE)	+= dma/
251da177e4SLinus Torvalds
26e2dbe06cSStijn Tintelobj-$(CONFIG_VIRTIO)		+= virtio/
27ad9a8612SJeremy Fitzhardingeobj-$(CONFIG_XEN)		+= xen/
28ad9a8612SJeremy Fitzhardinge
299f4dab49SDavid Brownell# regulators early, since some subsystems rely on them to initialize
309f4dab49SDavid Brownellobj-$(CONFIG_REGULATOR)		+= regulator/
319f4dab49SDavid Brownell
32ab4382d2SGreg Kroah-Hartman# tty/ comes before char/ so that the VT console is the boot-time
331da177e4SLinus Torvalds# default.
3496fd7ce5SGreg Kroah-Hartmanobj-y				+= tty/
351da177e4SLinus Torvaldsobj-y				+= char/
361da177e4SLinus Torvalds
37e6b51632SDave Airlie# gpu/ comes after char for AGP vs DRM startup
38e6b51632SDave Airlieobj-y				+= gpu/
39e6b51632SDave Airlie
407672d0b5SEvgeniy Polyakovobj-$(CONFIG_CONNECTOR)		+= connector/
417672d0b5SEvgeniy Polyakov
421da177e4SLinus Torvalds# i810fb and intelfb depend on char/agp/
431da177e4SLinus Torvaldsobj-$(CONFIG_FB_I810)           += video/i810/
441da177e4SLinus Torvaldsobj-$(CONFIG_FB_INTEL)          += video/intelfb/
451da177e4SLinus Torvalds
461da177e4SLinus Torvaldsobj-$(CONFIG_PARPORT)		+= parport/
470329326eSMatti J. Aaltonenobj-y				+= base/ block/ misc/ mfd/ nfc/
481da177e4SLinus Torvaldsobj-$(CONFIG_NUBUS)		+= nubus/
4945941d04SSoeren Sonnenburgobj-y				+= macintosh/
501da177e4SLinus Torvaldsobj-$(CONFIG_IDE)		+= ide/
511da177e4SLinus Torvaldsobj-$(CONFIG_SCSI)		+= scsi/
52c6fd2807SJeff Garzikobj-$(CONFIG_ATA)		+= ata/
53c66ac9dbSNicholas Bellingerobj-$(CONFIG_TARGET_CORE)	+= target/
549289d4efSSudhakar Rajashekharaobj-$(CONFIG_MTD)		+= mtd/
559289d4efSSudhakar Rajashekharaobj-$(CONFIG_SPI)		+= spi/
56a056ab8cSCarlos Chineaobj-y				+= hsi/
570c406263SArjan van de Venobj-y				+= net/
580c406263SArjan van de Venobj-$(CONFIG_ATM)		+= atm/
591da177e4SLinus Torvaldsobj-$(CONFIG_FUSION)		+= message/
608702d33aSStefan Richterobj-y				+= firewire/
61beafc54cSHans J. Kochobj-$(CONFIG_UIO)		+= uio/
621da177e4SLinus Torvaldsobj-y				+= cdrom/
6370e84049SMiguel Ojeda Sandonisobj-y				+= auxdisplay/
641da177e4SLinus Torvaldsobj-$(CONFIG_PCCARD)		+= pcmcia/
651da177e4SLinus Torvaldsobj-$(CONFIG_DIO)		+= dio/
661da177e4SLinus Torvaldsobj-$(CONFIG_SBUS)		+= sbus/
671da177e4SLinus Torvaldsobj-$(CONFIG_ZORRO)		+= zorro/
681da177e4SLinus Torvaldsobj-$(CONFIG_MAC)		+= macintosh/
691da177e4SLinus Torvaldsobj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
701da177e4SLinus Torvaldsobj-$(CONFIG_PARIDE) 		+= block/paride/
711da177e4SLinus Torvaldsobj-$(CONFIG_TC)		+= tc/
72ae5d82cbSDavid Vrabelobj-$(CONFIG_UWB)		+= uwb/
734661ffc9SFelipe Balbiobj-$(CONFIG_USB_OTG_UTILS)	+= usb/
741da177e4SLinus Torvaldsobj-$(CONFIG_USB)		+= usb/
756015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= usb/
764661ffc9SFelipe Balbiobj-$(CONFIG_USB_GADGET)	+= usb/
7751c38f9bSDmitry Torokhovobj-$(CONFIG_SERIO)		+= input/serio/
781da177e4SLinus Torvaldsobj-$(CONFIG_GAMEPORT)		+= input/gameport/
791da177e4SLinus Torvaldsobj-$(CONFIG_INPUT)		+= input/
801da177e4SLinus Torvaldsobj-$(CONFIG_I2O)		+= message/
81c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc/
82a357482aSGuennadi Liakhovetskiobj-y				+= i2c/ media/
83eae9d2baSRodolfo Giomettiobj-$(CONFIG_PPS)		+= pps/
84d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
851da177e4SLinus Torvaldsobj-$(CONFIG_W1)		+= w1/
864a11b59dSAnton Vorontsovobj-$(CONFIG_POWER_SUPPLY)	+= power/
87ad2f931dSJean Delvareobj-$(CONFIG_HWMON)		+= hwmon/
88203d3d4aSZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal/
89b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG)		+= watchdog/
901da177e4SLinus Torvaldsobj-$(CONFIG_MD)		+= md/
911da177e4SLinus Torvaldsobj-$(CONFIG_BT)		+= bluetooth/
92f7511d5fSSamuel Thibaultobj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
931da177e4SLinus Torvaldsobj-$(CONFIG_ISDN)		+= isdn/
94da9bb1d2SAlan Coxobj-$(CONFIG_EDAC)		+= edac/
951da177e4SLinus Torvaldsobj-$(CONFIG_MCA)		+= mca/
961da177e4SLinus Torvaldsobj-$(CONFIG_EISA)		+= eisa/
977ea08093SGlauber de Oliveira Costaobj-y				+= lguest/
981da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ)		+= cpufreq/
994f86d3a8SLen Brownobj-$(CONFIG_CPU_IDLE)		+= cpuidle/
10052c506f0SAdrian Hunterobj-y				+= mmc/
101baf8532aSAlex Dubovobj-$(CONFIG_MEMSTICK)		+= memstick/
1024440673aSUwe Kleine-Königobj-y				+= leds/
1031da177e4SLinus Torvaldsobj-$(CONFIG_INFINIBAND)	+= infiniband/
104466575f4SJes Sorensenobj-$(CONFIG_SGI_SN)		+= sn/
1051da177e4SLinus Torvaldsobj-y				+= firmware/
1061da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO)		+= crypto/
107e87eaad1SPaul Mundtobj-$(CONFIG_SUPERH)		+= sh/
10813d605deSMagnus Dammobj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
109592913ecSJohn Stultzifndef CONFIG_ARCH_USES_GETTIMEOFFSET
110592913ecSJohn Stultzobj-y				+= clocksource/
111592913ecSJohn Stultzendif
1127589670fSShannon Nelsonobj-$(CONFIG_DCA)		+= dca/
11363f3861dSJiri Kosinaobj-$(CONFIG_HID)		+= hid/
114eb30c720SGeert Uytterhoevenobj-$(CONFIG_PPC_PS3)		+= ps3/
11597e873e5SStephen Rothwellobj-$(CONFIG_OF)		+= of/
11661e115a5SMichael Bueschobj-$(CONFIG_SSB)		+= ssb/
1178369ae33SRafał Miłeckiobj-$(CONFIG_BCMA)		+= bcma/
1183a4d5c94SMichael S. Tsirkinobj-$(CONFIG_VHOST_NET)		+= vhost/
11955e331cfSFlorian Fainelliobj-$(CONFIG_VLYNQ)		+= vlynq/
12035045589SGreg Kroah-Hartmanobj-$(CONFIG_STAGING)		+= staging/
12141b16dceSLen Brownobj-y				+= platform/
1228459464fSSergey Lapinobj-y				+= ieee802154/
1236d803ba7SJean-Christop PLAGNIOL-VILLARD#common clk code
1246d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y				+= clk/
125bd9a4c7dSOhad Ben-Cohen
126bd9a4c7dSOhad Ben-Cohenobj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
1273e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC)		+= nfc/
1286b385b46SJoerg Roedelobj-$(CONFIG_IOMMU_SUPPORT)	+= iommu/
129400e64dfSOhad Ben-Cohenobj-$(CONFIG_REMOTEPROC)	+= remoteproc/
130bcabbccaSOhad Ben-Cohenobj-$(CONFIG_RPMSG)		+= rpmsg/
1316db71994STimur Tabi
1326db71994STimur Tabi# Virtualization drivers
1336db71994STimur Tabiobj-$(CONFIG_VIRT_DRIVERS)	+= virt/
13446a97191SGreg Kroah-Hartmanobj-$(CONFIG_HYPERV)		+= hv/
135a3c98b8bSMyungJoo Ham
136a3c98b8bSMyungJoo Hamobj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
137a980e046SJonathan Cameronobj-$(CONFIG_IIO)		+= iio/
138db3b9e99SGreg Kroah-Hartmanobj-$(CONFIG_VME_BUS)		+= vme/
139