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