]> git.ipfire.org Git - thirdparty/linux.git/blame - drivers/Makefile
Merge tag 'regulator-fix-v6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git...
[thirdparty/linux.git] / drivers / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
2#
3# Makefile for the Linux kernel device drivers.
4#
5# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
6# Rewritten to use lists instead of if-statements.
7#
8
67d7c302
MY
9# Some driver Makefiles miss $(srctree)/ for include directive.
10ifdef building_out_of_srctree
11MAKEFLAGS += --include-dir=$(srctree)
12endif
13
d34599bc 14obj-y += cache/
89214f00 15obj-y += irqchip/
26a84b3e 16obj-y += bus/
89214f00 17
ff764963
KVA
18obj-$(CONFIG_GENERIC_PHY) += phy/
19
2744e8af 20# GPIO must come after pinctrl as gpios may need to mux pins etc
95b612cc 21obj-$(CONFIG_PINCTRL) += pinctrl/
6b891a26 22obj-$(CONFIG_GPIOLIB) += gpio/
0c2498f1 23obj-y += pwm/
5e8cb403 24
9de0eec2 25obj-y += pci/
7a2b3f02 26
1da177e4 27obj-$(CONFIG_PARISC) += parisc/
394b701c 28obj-$(CONFIG_RAPIDIO) += rapidio/
1da177e4 29obj-y += video/
26717172 30obj-y += idle/
061475b6
MG
31
32# IPMI must come before ACPI in order to provide IPMI opregion support
54f9c4d0 33obj-y += char/ipmi/
061475b6 34
888ba6c6 35obj-$(CONFIG_ACPI) += acpi/
4590d98f 36
1da177e4
LT
37# PnP must come after ACPI since it will eventually need to check if acpi
38# was used and do nothing if so
39obj-$(CONFIG_PNP) += pnp/
87d0bab2 40obj-y += amba/
6eb1c949
MY
41
42obj-y += clk/
a0eb221a
LW
43# Many drivers will want to use DMA so this has to be made available
44# really early.
9a322993 45obj-$(CONFIG_DMADEVICES) += dma/
1da177e4 46
3a6e0821
SS
47# SOC specific infrastructure drivers.
48obj-y += soc/
e2ad626f 49obj-$(CONFIG_PM_GENERIC_DOMAINS) += pmdomain/
3a6e0821 50
27d9839f 51obj-y += virtio/
c9b9f5f8 52obj-$(CONFIG_VDPA) += vdpa/
ad9a8612
JF
53obj-$(CONFIG_XEN) += xen/
54
9f4dab49
DB
55# regulators early, since some subsystems rely on them to initialize
56obj-$(CONFIG_REGULATOR) += regulator/
57
61fc4131
PZ
58# reset controllers early, since gpu drivers might rely on them to initialize
59obj-$(CONFIG_RESET_CONTROLLER) += reset/
60
ab4382d2 61# tty/ comes before char/ so that the VT console is the boot-time
1da177e4 62# default.
96fd7ce5 63obj-y += tty/
1da177e4
LT
64obj-y += char/
65
1bacc894 66# iommu/ comes before gpu as gpu are using iommu controllers
bd3c2e66 67obj-y += iommu/
1bacc894
OG
68
69# gpu/ comes after char for AGP vs DRM startup and after iommu
e6b51632
DA
70obj-y += gpu/
71
7672d0b5
EP
72obj-$(CONFIG_CONNECTOR) += connector/
73
689237ab 74# i810fb depends on char/agp/
f7018c21 75obj-$(CONFIG_FB_I810) += video/fbdev/i810/
1da177e4 76
1da177e4 77obj-$(CONFIG_PARPORT) += parport/
0329326e 78obj-y += base/ block/ misc/ mfd/ nfc/
b94d5230 79obj-$(CONFIG_LIBNVDIMM) += nvdimm/
8a3d95ea 80obj-y += dax/
35fac7e3 81obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/
1da177e4 82obj-$(CONFIG_NUBUS) += nubus/
9ea4dcf4 83obj-y += cxl/
45941d04 84obj-y += macintosh/
ad80f970 85obj-y += scsi/
57dacad5 86obj-y += nvme/
c6fd2807 87obj-$(CONFIG_ATA) += ata/
c66ac9db 88obj-$(CONFIG_TARGET_CORE) += target/
9289d4ef
SR
89obj-$(CONFIG_MTD) += mtd/
90obj-$(CONFIG_SPI) += spi/
5a86bf34 91obj-$(CONFIG_SPMI) += spmi/
ea12c45f 92obj-$(CONFIG_HSI) += hsi/
3648e78e 93obj-$(CONFIG_SLIMBUS) += slimbus/
0c406263
AV
94obj-y += net/
95obj-$(CONFIG_ATM) += atm/
1da177e4 96obj-$(CONFIG_FUSION) += message/
8702d33a 97obj-y += firewire/
beafc54c 98obj-$(CONFIG_UIO) += uio/
cba3345c 99obj-$(CONFIG_VFIO) += vfio/
1da177e4 100obj-y += cdrom/
70e84049 101obj-y += auxdisplay/
1da177e4
LT
102obj-$(CONFIG_PCCARD) += pcmcia/
103obj-$(CONFIG_DIO) += dio/
104obj-$(CONFIG_SBUS) += sbus/
105obj-$(CONFIG_ZORRO) += zorro/
1da177e4 106obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
1da177e4 107obj-$(CONFIG_TC) += tc/
edc7cb2e 108obj-$(CONFIG_USB_PHY) += usb/
1da177e4 109obj-$(CONFIG_USB) += usb/
c9d24f78 110obj-$(CONFIG_USB_SUPPORT) += usb/
6015d2c4 111obj-$(CONFIG_PCI) += usb/
4661ffc9 112obj-$(CONFIG_USB_GADGET) += usb/
3d615964 113obj-$(CONFIG_OF) += usb/
51c38f9b 114obj-$(CONFIG_SERIO) += input/serio/
1da177e4
LT
115obj-$(CONFIG_GAMEPORT) += input/gameport/
116obj-$(CONFIG_INPUT) += input/
c58411e9 117obj-$(CONFIG_RTC_LIB) += rtc/
3a379bbc 118obj-y += i2c/ i3c/ media/
eae9d2ba 119obj-$(CONFIG_PPS) += pps/
d1cbfd77 120obj-y += ptp/
1da177e4 121obj-$(CONFIG_W1) += w1/
f96576bd 122obj-y += power/
ad2f931d 123obj-$(CONFIG_HWMON) += hwmon/
203d3d4a 124obj-$(CONFIG_THERMAL) += thermal/
b7e04f8c 125obj-$(CONFIG_WATCHDOG) += watchdog/
1da177e4
LT
126obj-$(CONFIG_MD) += md/
127obj-$(CONFIG_BT) += bluetooth/
f7511d5f 128obj-$(CONFIG_ACCESSIBILITY) += accessibility/
1da177e4 129obj-$(CONFIG_ISDN) += isdn/
da9bb1d2 130obj-$(CONFIG_EDAC) += edac/
1da177e4 131obj-$(CONFIG_EISA) += eisa/
7813dd6f 132obj-$(CONFIG_PM_OPP) += opp/
1da177e4 133obj-$(CONFIG_CPU_FREQ) += cpufreq/
4f86d3a8 134obj-$(CONFIG_CPU_IDLE) += cpuidle/
52c506f0 135obj-y += mmc/
dd11376b 136obj-y += ufs/
baf8532a 137obj-$(CONFIG_MEMSTICK) += memstick/
041d2a0e 138obj-y += leds/
1da177e4 139obj-$(CONFIG_INFINIBAND) += infiniband/
1da177e4
LT
140obj-y += firmware/
141obj-$(CONFIG_CRYPTO) += crypto/
e87eaad1 142obj-$(CONFIG_SUPERH) += sh/
592913ec 143obj-y += clocksource/
7589670f 144obj-$(CONFIG_DCA) += dca/
25621bcc 145obj-$(CONFIG_HID_SUPPORT) += hid/
eb30c720 146obj-$(CONFIG_PPC_PS3) += ps3/
97e873e5 147obj-$(CONFIG_OF) += of/
61e115a5 148obj-$(CONFIG_SSB) += ssb/
8369ae33 149obj-$(CONFIG_BCMA) += bcma/
f87d0fbb 150obj-$(CONFIG_VHOST_RING) += vhost/
98701a2a 151obj-$(CONFIG_VHOST_IOTLB) += vhost/
b2fbd8b0 152obj-$(CONFIG_VHOST) += vhost/
8465def4 153obj-$(CONFIG_GREYBUS) += greybus/
8ffdff6a 154obj-$(CONFIG_COMEDI) += comedi/
35045589 155obj-$(CONFIG_STAGING) += staging/
41b16dce 156obj-y += platform/
bd9a4c7d 157
30058677 158obj-$(CONFIG_MAILBOX) += mailbox/
bd9a4c7d 159obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
400e64df 160obj-$(CONFIG_REMOTEPROC) += remoteproc/
bcabbcca 161obj-$(CONFIG_RPMSG) += rpmsg/
9251345d 162obj-$(CONFIG_SOUNDWIRE) += soundwire/
6db71994
TT
163
164# Virtualization drivers
165obj-$(CONFIG_VIRT_DRIVERS) += virt/
a4d7e8ae 166obj-$(subst m,y,$(CONFIG_HYPERV)) += hv/
a3c98b8b
MH
167
168obj-$(CONFIG_PM_DEVFREQ) += devfreq/
de55d871 169obj-$(CONFIG_EXTCON) += extcon/
7ec94453 170obj-$(CONFIG_MEMORY) += memory/
a980e046 171obj-$(CONFIG_IIO) += iio/
05e5027e 172obj-$(CONFIG_IPACK_BUS) += ipack/
fce8a7bb 173obj-$(CONFIG_NTB) += ntb/
12cc4b38 174obj-$(CONFIG_POWERCAP) += powercap/
3764e82e 175obj-$(CONFIG_MCB) += mcb/
fa8ad788 176obj-$(CONFIG_PERF_EVENTS) += perf/
76ac8275 177obj-$(CONFIG_RAS) += ras/
690ac0d2 178obj-$(CONFIG_USB4) += thunderbolt/
01081f5a 179obj-$(CONFIG_CORESIGHT) += hwtracing/coresight/
39f40346 180obj-y += hwtracing/intel_th/
7bd1d409 181obj-$(CONFIG_STM) += hwtracing/stm/
ff0de066 182obj-$(CONFIG_HISI_PTT) += hwtracing/ptt/
1045a067 183obj-y += android/
eace75cf 184obj-$(CONFIG_NVMEM) += nvmem/
6a8c3be7 185obj-$(CONFIG_FPGA) += fpga/
0508ad1f 186obj-$(CONFIG_FSI) += fsi/
967c9cca 187obj-$(CONFIG_TEE) += tee/
a3b02a9c 188obj-$(CONFIG_MULTIPLEXER) += mux/
bbecb07f 189obj-$(CONFIG_SIOX) += siox/
2b6a4403 190obj-$(CONFIG_GNSS) += gnss/
11f1ceca 191obj-$(CONFIG_INTERCONNECT) += interconnect/
0040a390 192obj-$(CONFIG_COUNTER) += counter/
b2765275 193obj-$(CONFIG_MOST) += most/
6523d3b2 194obj-$(CONFIG_PECI) += peci/
31ab09b4 195obj-$(CONFIG_HTE) += hte/
e65e175b 196obj-$(CONFIG_DRM_ACCEL) += accel/
2959ab24 197obj-$(CONFIG_CDX_BUS) += cdx/
9431063a 198obj-$(CONFIG_DPLL) += dpll/
305b9f4f
MY
199
200obj-$(CONFIG_S390) += s390/