]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - drivers/Makefile
Linux 4.15-rc4
[mirror_ubuntu-eoan-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
6015d2c4 19obj-$(CONFIG_PCI) += pci/
5e8cb403 20obj-$(CONFIG_PCI_ENDPOINT) += pci/endpoint/
7a2b3f02
KVA
21# PCI dwc controller drivers
22obj-y += pci/dwc/
23
1da177e4 24obj-$(CONFIG_PARISC) += parisc/
394b701c 25obj-$(CONFIG_RAPIDIO) += rapidio/
1da177e4 26obj-y += video/
26717172 27obj-y += idle/
061475b6
MG
28
29# IPMI must come before ACPI in order to provide IPMI opregion support
54f9c4d0 30obj-y += char/ipmi/
061475b6 31
888ba6c6 32obj-$(CONFIG_ACPI) += acpi/
6ae6996a 33obj-$(CONFIG_SFI) += sfi/
1da177e4
LT
34# PnP must come after ACPI since it will eventually need to check if acpi
35# was used and do nothing if so
36obj-$(CONFIG_PNP) += pnp/
87d0bab2 37obj-y += amba/
6eb1c949
MY
38
39obj-y += clk/
a0eb221a
LW
40# Many drivers will want to use DMA so this has to be made available
41# really early.
9a322993 42obj-$(CONFIG_DMADEVICES) += dma/
1da177e4 43
3a6e0821
SS
44# SOC specific infrastructure drivers.
45obj-y += soc/
46
e2dbe06c 47obj-$(CONFIG_VIRTIO) += virtio/
ad9a8612
JF
48obj-$(CONFIG_XEN) += xen/
49
9f4dab49
DB
50# regulators early, since some subsystems rely on them to initialize
51obj-$(CONFIG_REGULATOR) += regulator/
52
61fc4131
PZ
53# reset controllers early, since gpu drivers might rely on them to initialize
54obj-$(CONFIG_RESET_CONTROLLER) += reset/
55
ab4382d2 56# tty/ comes before char/ so that the VT console is the boot-time
1da177e4 57# default.
96fd7ce5 58obj-y += tty/
1da177e4
LT
59obj-y += char/
60
1bacc894
OG
61# iommu/ comes before gpu as gpu are using iommu controllers
62obj-$(CONFIG_IOMMU_SUPPORT) += iommu/
63
64# gpu/ comes after char for AGP vs DRM startup and after iommu
e6b51632
DA
65obj-y += gpu/
66
7672d0b5
EP
67obj-$(CONFIG_CONNECTOR) += connector/
68
1da177e4 69# i810fb and intelfb depend on char/agp/
f7018c21
TV
70obj-$(CONFIG_FB_I810) += video/fbdev/i810/
71obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
1da177e4 72
1da177e4 73obj-$(CONFIG_PARPORT) += parport/
b2b7e001 74obj-$(CONFIG_NVM) += lightnvm/
0329326e 75obj-y += base/ block/ misc/ mfd/ nfc/
b94d5230 76obj-$(CONFIG_LIBNVDIMM) += nvdimm/
7b6be844 77obj-$(CONFIG_DAX) += dax/
35fac7e3 78obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/
1da177e4 79obj-$(CONFIG_NUBUS) += nubus/
45941d04 80obj-y += macintosh/
1da177e4 81obj-$(CONFIG_IDE) += ide/
1da177e4 82obj-$(CONFIG_SCSI) += scsi/
57dacad5 83obj-y += nvme/
c6fd2807 84obj-$(CONFIG_ATA) += ata/
c66ac9db 85obj-$(CONFIG_TARGET_CORE) += target/
9289d4ef
SR
86obj-$(CONFIG_MTD) += mtd/
87obj-$(CONFIG_SPI) += spi/
5a86bf34 88obj-$(CONFIG_SPMI) += spmi/
ea12c45f 89obj-$(CONFIG_HSI) += hsi/
0c406263
AV
90obj-y += net/
91obj-$(CONFIG_ATM) += atm/
1da177e4 92obj-$(CONFIG_FUSION) += message/
8702d33a 93obj-y += firewire/
beafc54c 94obj-$(CONFIG_UIO) += uio/
cba3345c 95obj-$(CONFIG_VFIO) += vfio/
1da177e4 96obj-y += cdrom/
70e84049 97obj-y += auxdisplay/
1da177e4
LT
98obj-$(CONFIG_PCCARD) += pcmcia/
99obj-$(CONFIG_DIO) += dio/
100obj-$(CONFIG_SBUS) += sbus/
101obj-$(CONFIG_ZORRO) += zorro/
1da177e4
LT
102obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
103obj-$(CONFIG_PARIDE) += block/paride/
104obj-$(CONFIG_TC) += tc/
ae5d82cb 105obj-$(CONFIG_UWB) += uwb/
edc7cb2e 106obj-$(CONFIG_USB_PHY) += usb/
1da177e4 107obj-$(CONFIG_USB) += usb/
c9d24f78 108obj-$(CONFIG_USB_SUPPORT) += usb/
6015d2c4 109obj-$(CONFIG_PCI) += usb/
4661ffc9 110obj-$(CONFIG_USB_GADGET) += usb/
3d615964 111obj-$(CONFIG_OF) += usb/
51c38f9b 112obj-$(CONFIG_SERIO) += input/serio/
1da177e4
LT
113obj-$(CONFIG_GAMEPORT) += input/gameport/
114obj-$(CONFIG_INPUT) += input/
c58411e9 115obj-$(CONFIG_RTC_LIB) += rtc/
a357482a 116obj-y += i2c/ media/
eae9d2ba 117obj-$(CONFIG_PPS) += pps/
d1cbfd77 118obj-y += ptp/
1da177e4 119obj-$(CONFIG_W1) += w1/
f96576bd 120obj-y += power/
ad2f931d 121obj-$(CONFIG_HWMON) += hwmon/
203d3d4a 122obj-$(CONFIG_THERMAL) += thermal/
b7e04f8c 123obj-$(CONFIG_WATCHDOG) += watchdog/
1da177e4
LT
124obj-$(CONFIG_MD) += md/
125obj-$(CONFIG_BT) += bluetooth/
f7511d5f 126obj-$(CONFIG_ACCESSIBILITY) += accessibility/
1da177e4 127obj-$(CONFIG_ISDN) += isdn/
da9bb1d2 128obj-$(CONFIG_EDAC) += edac/
1da177e4 129obj-$(CONFIG_EISA) += eisa/
7813dd6f 130obj-$(CONFIG_PM_OPP) += opp/
1da177e4 131obj-$(CONFIG_CPU_FREQ) += cpufreq/
4f86d3a8 132obj-$(CONFIG_CPU_IDLE) += cpuidle/
52c506f0 133obj-y += mmc/
baf8532a 134obj-$(CONFIG_MEMSTICK) += memstick/
b1ae40a5 135obj-$(CONFIG_NEW_LEDS) += leds/
1da177e4 136obj-$(CONFIG_INFINIBAND) += infiniband/
466575f4 137obj-$(CONFIG_SGI_SN) += sn/
1da177e4
LT
138obj-y += firmware/
139obj-$(CONFIG_CRYPTO) += crypto/
e87eaad1 140obj-$(CONFIG_SUPERH) += sh/
592913ec
JS
141ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
142obj-y += clocksource/
143endif
7589670f 144obj-$(CONFIG_DCA) += dca/
63f3861d 145obj-$(CONFIG_HID) += 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/
b2fbd8b0 151obj-$(CONFIG_VHOST) += vhost/
55e331cf 152obj-$(CONFIG_VLYNQ) += vlynq/
35045589 153obj-$(CONFIG_STAGING) += staging/
41b16dce 154obj-y += platform/
bd9a4c7d 155
30058677 156obj-$(CONFIG_MAILBOX) += mailbox/
bd9a4c7d 157obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
400e64df 158obj-$(CONFIG_REMOTEPROC) += remoteproc/
bcabbcca 159obj-$(CONFIG_RPMSG) += rpmsg/
6db71994
TT
160
161# Virtualization drivers
162obj-$(CONFIG_VIRT_DRIVERS) += virt/
46a97191 163obj-$(CONFIG_HYPERV) += hv/
a3c98b8b
MH
164
165obj-$(CONFIG_PM_DEVFREQ) += devfreq/
de55d871 166obj-$(CONFIG_EXTCON) += extcon/
7ec94453 167obj-$(CONFIG_MEMORY) += memory/
a980e046 168obj-$(CONFIG_IIO) += iio/
db3b9e99 169obj-$(CONFIG_VME_BUS) += vme/
05e5027e 170obj-$(CONFIG_IPACK_BUS) += ipack/
fce8a7bb 171obj-$(CONFIG_NTB) += ntb/
9c9f32ed 172obj-$(CONFIG_FMC) += fmc/
12cc4b38 173obj-$(CONFIG_POWERCAP) += powercap/
3764e82e 174obj-$(CONFIG_MCB) += mcb/
fa8ad788 175obj-$(CONFIG_PERF_EVENTS) += perf/
76ac8275 176obj-$(CONFIG_RAS) += ras/
16603153 177obj-$(CONFIG_THUNDERBOLT) += thunderbolt/
01081f5a 178obj-$(CONFIG_CORESIGHT) += hwtracing/coresight/
39f40346 179obj-y += hwtracing/intel_th/
7bd1d409 180obj-$(CONFIG_STM) += hwtracing/stm/
777783e0 181obj-$(CONFIG_ANDROID) += android/
eace75cf 182obj-$(CONFIG_NVMEM) += nvmem/
6a8c3be7 183obj-$(CONFIG_FPGA) += fpga/
0508ad1f 184obj-$(CONFIG_FSI) += fsi/
967c9cca 185obj-$(CONFIG_TEE) += tee/
a3b02a9c 186obj-$(CONFIG_MULTIPLEXER) += mux/