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