xref: /openbmc/linux/drivers/Makefile (revision 6db71994)
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
87444a72eSMichael Bueschobj-y				+= gpio/
96015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= pci/
101da177e4SLinus Torvaldsobj-$(CONFIG_PARISC)		+= parisc/
11394b701cSMatt Porterobj-$(CONFIG_RAPIDIO)		+= rapidio/
121da177e4SLinus Torvaldsobj-y				+= video/
1326717172SLen Brownobj-y				+= idle/
14888ba6c6SLen Brownobj-$(CONFIG_ACPI)		+= acpi/
156ae6996aSFeng Tangobj-$(CONFIG_SFI)		+= sfi/
161da177e4SLinus Torvalds# PnP must come after ACPI since it will eventually need to check if acpi
171da177e4SLinus Torvalds# was used and do nothing if so
181da177e4SLinus Torvaldsobj-$(CONFIG_PNP)		+= pnp/
19de1d815fSRussell Kingobj-$(CONFIG_ARM_AMBA)		+= amba/
20a0eb221aSLinus Walleij# Many drivers will want to use DMA so this has to be made available
21a0eb221aSLinus Walleij# really early.
22a0eb221aSLinus Walleijobj-$(CONFIG_DMA_ENGINE)	+= dma/
231da177e4SLinus Torvalds
24e2dbe06cSStijn Tintelobj-$(CONFIG_VIRTIO)		+= virtio/
25ad9a8612SJeremy Fitzhardingeobj-$(CONFIG_XEN)		+= xen/
26ad9a8612SJeremy Fitzhardinge
279f4dab49SDavid Brownell# regulators early, since some subsystems rely on them to initialize
289f4dab49SDavid Brownellobj-$(CONFIG_REGULATOR)		+= regulator/
299f4dab49SDavid Brownell
30ab4382d2SGreg Kroah-Hartman# tty/ comes before char/ so that the VT console is the boot-time
311da177e4SLinus Torvalds# default.
3296fd7ce5SGreg Kroah-Hartmanobj-y				+= tty/
331da177e4SLinus Torvaldsobj-y				+= char/
341da177e4SLinus Torvalds
35e6b51632SDave Airlie# gpu/ comes after char for AGP vs DRM startup
36e6b51632SDave Airlieobj-y				+= gpu/
37e6b51632SDave Airlie
387672d0b5SEvgeniy Polyakovobj-$(CONFIG_CONNECTOR)		+= connector/
397672d0b5SEvgeniy Polyakov
401da177e4SLinus Torvalds# i810fb and intelfb depend on char/agp/
411da177e4SLinus Torvaldsobj-$(CONFIG_FB_I810)           += video/i810/
421da177e4SLinus Torvaldsobj-$(CONFIG_FB_INTEL)          += video/intelfb/
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldsobj-$(CONFIG_PARPORT)		+= parport/
450329326eSMatti J. Aaltonenobj-y				+= base/ block/ misc/ mfd/ nfc/
461da177e4SLinus Torvaldsobj-$(CONFIG_NUBUS)		+= nubus/
4745941d04SSoeren Sonnenburgobj-y				+= macintosh/
481da177e4SLinus Torvaldsobj-$(CONFIG_IDE)		+= ide/
491da177e4SLinus Torvaldsobj-$(CONFIG_SCSI)		+= scsi/
50c6fd2807SJeff Garzikobj-$(CONFIG_ATA)		+= ata/
51c66ac9dbSNicholas Bellingerobj-$(CONFIG_TARGET_CORE)	+= target/
529289d4efSSudhakar Rajashekharaobj-$(CONFIG_MTD)		+= mtd/
539289d4efSSudhakar Rajashekharaobj-$(CONFIG_SPI)		+= spi/
540c406263SArjan van de Venobj-y				+= net/
550c406263SArjan van de Venobj-$(CONFIG_ATM)		+= atm/
561da177e4SLinus Torvaldsobj-$(CONFIG_FUSION)		+= message/
578702d33aSStefan Richterobj-y				+= firewire/
58beafc54cSHans J. Kochobj-$(CONFIG_UIO)		+= uio/
591da177e4SLinus Torvaldsobj-y				+= cdrom/
6070e84049SMiguel Ojeda Sandonisobj-y				+= auxdisplay/
611da177e4SLinus Torvaldsobj-$(CONFIG_PCCARD)		+= pcmcia/
621da177e4SLinus Torvaldsobj-$(CONFIG_DIO)		+= dio/
631da177e4SLinus Torvaldsobj-$(CONFIG_SBUS)		+= sbus/
641da177e4SLinus Torvaldsobj-$(CONFIG_ZORRO)		+= zorro/
651da177e4SLinus Torvaldsobj-$(CONFIG_MAC)		+= macintosh/
661da177e4SLinus Torvaldsobj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
671da177e4SLinus Torvaldsobj-$(CONFIG_PARIDE) 		+= block/paride/
681da177e4SLinus Torvaldsobj-$(CONFIG_TC)		+= tc/
69ae5d82cbSDavid Vrabelobj-$(CONFIG_UWB)		+= uwb/
704661ffc9SFelipe Balbiobj-$(CONFIG_USB_OTG_UTILS)	+= usb/
711da177e4SLinus Torvaldsobj-$(CONFIG_USB)		+= usb/
726015d2c4SLinus Torvaldsobj-$(CONFIG_PCI)		+= usb/
734661ffc9SFelipe Balbiobj-$(CONFIG_USB_GADGET)	+= usb/
7451c38f9bSDmitry Torokhovobj-$(CONFIG_SERIO)		+= input/serio/
751da177e4SLinus Torvaldsobj-$(CONFIG_GAMEPORT)		+= input/gameport/
761da177e4SLinus Torvaldsobj-$(CONFIG_INPUT)		+= input/
771da177e4SLinus Torvaldsobj-$(CONFIG_I2O)		+= message/
78c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc/
79a357482aSGuennadi Liakhovetskiobj-y				+= i2c/ media/
80eae9d2baSRodolfo Giomettiobj-$(CONFIG_PPS)		+= pps/
81d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
821da177e4SLinus Torvaldsobj-$(CONFIG_W1)		+= w1/
834a11b59dSAnton Vorontsovobj-$(CONFIG_POWER_SUPPLY)	+= power/
84ad2f931dSJean Delvareobj-$(CONFIG_HWMON)		+= hwmon/
85203d3d4aSZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal/
86b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG)		+= watchdog/
871da177e4SLinus Torvaldsobj-$(CONFIG_PHONE)		+= telephony/
881da177e4SLinus Torvaldsobj-$(CONFIG_MD)		+= md/
891da177e4SLinus Torvaldsobj-$(CONFIG_BT)		+= bluetooth/
90f7511d5fSSamuel Thibaultobj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
911da177e4SLinus Torvaldsobj-$(CONFIG_ISDN)		+= isdn/
92da9bb1d2SAlan Coxobj-$(CONFIG_EDAC)		+= edac/
931da177e4SLinus Torvaldsobj-$(CONFIG_MCA)		+= mca/
941da177e4SLinus Torvaldsobj-$(CONFIG_EISA)		+= eisa/
957ea08093SGlauber de Oliveira Costaobj-y				+= lguest/
961da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ)		+= cpufreq/
974f86d3a8SLen Brownobj-$(CONFIG_CPU_IDLE)		+= cpuidle/
981da177e4SLinus Torvaldsobj-$(CONFIG_MMC)		+= mmc/
99baf8532aSAlex Dubovobj-$(CONFIG_MEMSTICK)		+= memstick/
1004440673aSUwe Kleine-Königobj-y				+= leds/
1011da177e4SLinus Torvaldsobj-$(CONFIG_INFINIBAND)	+= infiniband/
102466575f4SJes Sorensenobj-$(CONFIG_SGI_SN)		+= sn/
1031da177e4SLinus Torvaldsobj-y				+= firmware/
1041da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO)		+= crypto/
105e87eaad1SPaul Mundtobj-$(CONFIG_SUPERH)		+= sh/
10613d605deSMagnus Dammobj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
107592913ecSJohn Stultzifndef CONFIG_ARCH_USES_GETTIMEOFFSET
108592913ecSJohn Stultzobj-y				+= clocksource/
109592913ecSJohn Stultzendif
1107589670fSShannon Nelsonobj-$(CONFIG_DCA)		+= dca/
11163f3861dSJiri Kosinaobj-$(CONFIG_HID)		+= hid/
112eb30c720SGeert Uytterhoevenobj-$(CONFIG_PPC_PS3)		+= ps3/
11397e873e5SStephen Rothwellobj-$(CONFIG_OF)		+= of/
11461e115a5SMichael Bueschobj-$(CONFIG_SSB)		+= ssb/
1158369ae33SRafał Miłeckiobj-$(CONFIG_BCMA)		+= bcma/
1163a4d5c94SMichael S. Tsirkinobj-$(CONFIG_VHOST_NET)		+= vhost/
11755e331cfSFlorian Fainelliobj-$(CONFIG_VLYNQ)		+= vlynq/
11835045589SGreg Kroah-Hartmanobj-$(CONFIG_STAGING)		+= staging/
11941b16dceSLen Brownobj-y				+= platform/
1208459464fSSergey Lapinobj-y				+= ieee802154/
1216d803ba7SJean-Christop PLAGNIOL-VILLARD#common clk code
1226d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y				+= clk/
123bd9a4c7dSOhad Ben-Cohen
124bd9a4c7dSOhad Ben-Cohenobj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
1256db71994STimur Tabi
1266db71994STimur Tabi# Virtualization drivers
1276db71994STimur Tabiobj-$(CONFIG_VIRT_DRIVERS)	+= virt/
128