Blame view

drivers/Makefile 5.35 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  # SPDX-License-Identifier: GPL-2.0
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
5
6
7
  #
  # Makefile for the Linux kernel device drivers.
  #
  # 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
  # Rewritten to use lists instead of if-statements.
  #
89214f009   Simon Arlott   ARM: bcm2835: add...
8
  obj-y				+= irqchip/
26a84b3ea   Kishon Vijay Abraham I   drivers: bus: add...
9
  obj-y				+= bus/
89214f009   Simon Arlott   ARM: bcm2835: add...
10

ff7649634   Kishon Vijay Abraham I   drivers: phy: add...
11
  obj-$(CONFIG_GENERIC_PHY)	+= phy/
2744e8afb   Linus Walleij   drivers: create a...
12
  # GPIO must come after pinctrl as gpios may need to mux pins etc
95b612cc6   Masahiro Yamada   pinctrl: move CON...
13
  obj-$(CONFIG_PINCTRL)		+= pinctrl/
6b891a264   Andrew F. Davis   gpio: Only descen...
14
  obj-$(CONFIG_GPIOLIB)		+= gpio/
0c2498f16   Sascha Hauer   pwm: Add PWM fram...
15
  obj-y				+= pwm/
5e8cb4033   Kishon Vijay Abraham I   PCI: endpoint: Ad...
16

9de0eec29   Cyrille Pitchen   PCI: Regroup all ...
17
  obj-y				+= pci/
7a2b3f024   Kishon Vijay Abraham I   PCI: dwc: Remove ...
18

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
19
  obj-$(CONFIG_PARISC)		+= parisc/
394b701ce   Matt Porter   [PATCH] RapidIO s...
20
  obj-$(CONFIG_RAPIDIO)		+= rapidio/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
21
  obj-y				+= video/
267171726   Len Brown   intel_idle: nativ...
22
  obj-y				+= idle/
061475b65   Matthew Garrett   IPMI: Change link...
23
24
  
  # IPMI must come before ACPI in order to provide IPMI opregion support
54f9c4d07   Alistair Popple   ipmi: add an Aspe...
25
  obj-y				+= char/ipmi/
061475b65   Matthew Garrett   IPMI: Change link...
26

888ba6c62   Len Brown   [ACPI] delete CON...
27
  obj-$(CONFIG_ACPI)		+= acpi/
6ae6996a4   Feng Tang   SFI: add platform...
28
  obj-$(CONFIG_SFI)		+= sfi/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
29
30
31
  # PnP must come after ACPI since it will eventually need to check if acpi
  # was used and do nothing if so
  obj-$(CONFIG_PNP)		+= pnp/
87d0bab2c   Hiroshi DOYU   ARM: tegra: Add T...
32
  obj-y				+= amba/
6eb1c9496   Masahiro Yamada   clk: probe common...
33
34
  
  obj-y				+= clk/
a0eb221a4   Linus Walleij   dmaengine: move l...
35
36
  # Many drivers will want to use DMA so this has to be made available
  # really early.
9a3229939   Philippe De Muyter   powerpc, dma: mov...
37
  obj-$(CONFIG_DMADEVICES)	+= dma/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
38

3a6e08218   Santosh Shilimkar   soc: Introduce dr...
39
40
  # SOC specific infrastructure drivers.
  obj-y				+= soc/
e2dbe06c2   Stijn Tintel   virtio: initializ...
41
  obj-$(CONFIG_VIRTIO)		+= virtio/
c9b9f5f8c   Michael S. Tsirkin   vdpa: move to dri...
42
  obj-$(CONFIG_VDPA)		+= vdpa/
ad9a86121   Jeremy Fitzhardinge   xen: Add grant ta...
43
  obj-$(CONFIG_XEN)		+= xen/
9f4dab49e   David Brownell   regulator: init/l...
44
45
  # regulators early, since some subsystems rely on them to initialize
  obj-$(CONFIG_REGULATOR)		+= regulator/
61fc41317   Philipp Zabel   reset: Add reset ...
46
47
  # reset controllers early, since gpu drivers might rely on them to initialize
  obj-$(CONFIG_RESET_CONTROLLER)	+= reset/
ab4382d27   Greg Kroah-Hartman   tty: move drivers...
48
  # tty/ comes before char/ so that the VT console is the boot-time
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
49
  # default.
96fd7ce58   Greg Kroah-Hartman   TTY: create drive...
50
  obj-y				+= tty/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
51
  obj-y				+= char/
1bacc894c   Oded Gabbay   drivers: Move iom...
52
  # iommu/ comes before gpu as gpu are using iommu controllers
bd3c2e66e   Sakari Ailus   iommu/iova: Allow...
53
  obj-y				+= iommu/
1bacc894c   Oded Gabbay   drivers: Move iom...
54
55
  
  # gpu/ comes after char for AGP vs DRM startup and after iommu
e6b51632b   Dave Airlie   gpu: re-order GPU...
56
  obj-y				+= gpu/
7672d0b54   Evgeniy Polyakov   [NET]: Add netlin...
57
  obj-$(CONFIG_CONNECTOR)		+= connector/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
58
  # i810fb and intelfb depend on char/agp/
f7018c213   Tomi Valkeinen   video: move fbdev...
59
60
  obj-$(CONFIG_FB_I810)           += video/fbdev/i810/
  obj-$(CONFIG_FB_INTEL)          += video/fbdev/intelfb/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
61

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
62
  obj-$(CONFIG_PARPORT)		+= parport/
b2b7e0014   Matias Bjørling   null_blk: registe...
63
  obj-$(CONFIG_NVM)		+= lightnvm/
0329326e8   Matti J. Aaltonen   NFC: Driver for N...
64
  obj-y				+= base/ block/ misc/ mfd/ nfc/
b94d5230d   Dan Williams   libnvdimm, nfit: ...
65
  obj-$(CONFIG_LIBNVDIMM)		+= nvdimm/
7b6be8444   Dan Williams   dax: refactor dax...
66
  obj-$(CONFIG_DAX)		+= dax/
35fac7e30   Maarten Lankhorst   dma-buf: move to ...
67
  obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
68
  obj-$(CONFIG_NUBUS)		+= nubus/
45941d048   Soeren Sonnenburg   [PATCH] enable mo...
69
  obj-y				+= macintosh/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
70
  obj-$(CONFIG_IDE)		+= ide/
ad80f9703   Christoph Hellwig   scsi: build scsi_...
71
  obj-y				+= scsi/
57dacad5f   Jay Sternberg   nvme: move to a n...
72
  obj-y				+= nvme/
c6fd28076   Jeff Garzik   Move libata to dr...
73
  obj-$(CONFIG_ATA)		+= ata/
c66ac9db8   Nicholas Bellinger   [SCSI] target: Ad...
74
  obj-$(CONFIG_TARGET_CORE)	+= target/
9289d4ef0   Sudhakar Rajashekhara   driver/Makefile: ...
75
76
  obj-$(CONFIG_MTD)		+= mtd/
  obj-$(CONFIG_SPI)		+= spi/
5a86bf343   Kenneth Heitke   spmi: Linux drive...
77
  obj-$(CONFIG_SPMI)		+= spmi/
ea12c45f1   Andrew F. Davis   hsi: Only descend...
78
  obj-$(CONFIG_HSI)		+= hsi/
3648e78ec   Sagar Dharia   slimbus: Add SLIM...
79
  obj-$(CONFIG_SLIMBUS)		+= slimbus/
0c406263f   Arjan van de Ven   ide/net: flip the...
80
81
  obj-y				+= net/
  obj-$(CONFIG_ATM)		+= atm/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
82
  obj-$(CONFIG_FUSION)		+= message/
8702d33aa   Stefan Richter   firewire: nosy: f...
83
  obj-y				+= firewire/
beafc54c4   Hans J. Koch   UIO: Add the User...
84
  obj-$(CONFIG_UIO)		+= uio/
cba3345cc   Alex Williamson   vfio: VFIO core
85
  obj-$(CONFIG_VFIO)		+= vfio/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
86
  obj-y				+= cdrom/
70e840499   Miguel Ojeda Sandonis   [PATCH] drivers: ...
87
  obj-y				+= auxdisplay/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
88
89
90
91
  obj-$(CONFIG_PCCARD)		+= pcmcia/
  obj-$(CONFIG_DIO)		+= dio/
  obj-$(CONFIG_SBUS)		+= sbus/
  obj-$(CONFIG_ZORRO)		+= zorro/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
92
93
94
  obj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
  obj-$(CONFIG_PARIDE) 		+= block/paride/
  obj-$(CONFIG_TC)		+= tc/
edc7cb2e9   Felipe Balbi   usb: phy: make it...
95
  obj-$(CONFIG_USB_PHY)		+= usb/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
96
  obj-$(CONFIG_USB)		+= usb/
c9d24f782   Randy Dunlap   usb: build driver...
97
  obj-$(CONFIG_USB_SUPPORT)	+= usb/
6015d2c4c   Linus Torvalds   Link USB drivers ...
98
  obj-$(CONFIG_PCI)		+= usb/
4661ffc91   Felipe Balbi   usb: don't enter ...
99
  obj-$(CONFIG_USB_GADGET)	+= usb/
3d6159640   Alexey Brodkin   usb: Make sure us...
100
  obj-$(CONFIG_OF)		+= usb/
51c38f9bc   Dmitry Torokhov   Input: initialize...
101
  obj-$(CONFIG_SERIO)		+= input/serio/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
102
103
  obj-$(CONFIG_GAMEPORT)		+= input/gameport/
  obj-$(CONFIG_INPUT)		+= input/
c58411e95   Alessandro Zummo   [PATCH] RTC Subsy...
104
  obj-$(CONFIG_RTC_LIB)		+= rtc/
3a379bbce   Boris Brezillon   i3c: Add core I3C...
105
  obj-y				+= i2c/ i3c/ media/
eae9d2ba0   Rodolfo Giometti   LinuxPPS: core su...
106
  obj-$(CONFIG_PPS)		+= pps/
d1cbfd771   Nicolas Pitre   ptp_clock: Allow ...
107
  obj-y				+= ptp/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
108
  obj-$(CONFIG_W1)		+= w1/
f96576bd6   Krzysztof Kozlowski   power: Fix unmet ...
109
  obj-y				+= power/
ad2f931dc   Jean Delvare   [PATCH] I2C: Move...
110
  obj-$(CONFIG_HWMON)		+= hwmon/
203d3d4aa   Zhang Rui   the generic therm...
111
  obj-$(CONFIG_THERMAL)		+= thermal/
b7e04f8c6   Wim Van Sebroeck   mv watchdog tree ...
112
  obj-$(CONFIG_WATCHDOG)		+= watchdog/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
113
114
  obj-$(CONFIG_MD)		+= md/
  obj-$(CONFIG_BT)		+= bluetooth/
f7511d5f6   Samuel Thibault   Basic braille scr...
115
  obj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
116
  obj-$(CONFIG_ISDN)		+= isdn/
da9bb1d27   Alan Cox   [PATCH] EDAC: cor...
117
  obj-$(CONFIG_EDAC)		+= edac/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
118
  obj-$(CONFIG_EISA)		+= eisa/
7813dd6fc   Viresh Kumar   PM / OPP: Move th...
119
  obj-$(CONFIG_PM_OPP)		+= opp/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
120
  obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
4f86d3a8e   Len Brown   cpuidle: consolid...
121
  obj-$(CONFIG_CPU_IDLE)		+= cpuidle/
52c506f0b   Adrian Hunter   mmc: sdhci-pci: a...
122
  obj-y				+= mmc/
baf8532a1   Alex Dubov   memstick: initial...
123
  obj-$(CONFIG_MEMSTICK)		+= memstick/
b1ae40a5d   Andrew F. Davis   leds: Only descen...
124
  obj-$(CONFIG_NEW_LEDS)		+= leds/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
125
  obj-$(CONFIG_INFINIBAND)	+= infiniband/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
126
127
  obj-y				+= firmware/
  obj-$(CONFIG_CRYPTO)		+= crypto/
e87eaad10   Paul Mundt   [PATCH] sh: Re-ad...
128
  obj-$(CONFIG_SUPERH)		+= sh/
592913ecb   John Stultz   time: Kill off CO...
129
130
131
  ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
  obj-y				+= clocksource/
  endif
7589670f3   Shannon Nelson   DCA: Add Direct C...
132
  obj-$(CONFIG_DCA)		+= dca/
63f3861d2   Jiri Kosina   [PATCH] Generic H...
133
  obj-$(CONFIG_HID)		+= hid/
eb30c7202   Geert Uytterhoeven   [POWERPC] ps3: Mi...
134
  obj-$(CONFIG_PPC_PS3)		+= ps3/
97e873e5c   Stephen Rothwell   Start split out o...
135
  obj-$(CONFIG_OF)		+= of/
61e115a56   Michael Buesch   [SSB]: add Sonics...
136
  obj-$(CONFIG_SSB)		+= ssb/
8369ae33b   Rafał Miłecki   bcma: add Broadco...
137
  obj-$(CONFIG_BCMA)		+= bcma/
f87d0fbb5   Rusty Russell   vringh: host-side...
138
  obj-$(CONFIG_VHOST_RING)	+= vhost/
98701a2a8   Randy Dunlap   vdpa: mlx5: fix v...
139
  obj-$(CONFIG_VHOST_IOTLB)	+= vhost/
b2fbd8b07   Michael S. Tsirkin   vhost: drop vring...
140
  obj-$(CONFIG_VHOST)		+= vhost/
55e331cf7   Florian Fainelli   drivers: add supp...
141
  obj-$(CONFIG_VLYNQ)		+= vlynq/
8465def49   Greg Kroah-Hartman   staging: greybus:...
142
  obj-$(CONFIG_GREYBUS)		+= greybus/
350455891   Greg Kroah-Hartman   Staging: add Kcon...
143
  obj-$(CONFIG_STAGING)		+= staging/
41b16dce3   Len Brown   create drivers/pl...
144
  obj-y				+= platform/
bd9a4c7df   Ohad Ben-Cohen   drivers: hwspinlo...
145

300586778   Rob Herring   ARM / highbank: a...
146
  obj-$(CONFIG_MAILBOX)		+= mailbox/
bd9a4c7df   Ohad Ben-Cohen   drivers: hwspinlo...
147
  obj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
400e64df6   Ohad Ben-Cohen   remoteproc: add f...
148
  obj-$(CONFIG_REMOTEPROC)	+= remoteproc/
bcabbccab   Ohad Ben-Cohen   rpmsg: add virtio...
149
  obj-$(CONFIG_RPMSG)		+= rpmsg/
9251345dc   Vinod Koul   soundwire: Add So...
150
  obj-$(CONFIG_SOUNDWIRE)		+= soundwire/
6db719940   Timur Tabi   drivers/virt: int...
151
152
153
  
  # Virtualization drivers
  obj-$(CONFIG_VIRT_DRIVERS)	+= virt/
46a971913   Greg Kroah-Hartman   Staging: hv: move...
154
  obj-$(CONFIG_HYPERV)		+= hv/
a3c98b8b2   MyungJoo Ham   PM: Introduce dev...
155
156
  
  obj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
de55d8716   MyungJoo Ham   Extcon (external ...
157
  obj-$(CONFIG_EXTCON)		+= extcon/
7ec944538   Aneesh V   memory: emif: add...
158
  obj-$(CONFIG_MEMORY)		+= memory/
a980e0460   Jonathan Cameron   IIO: Move the cor...
159
  obj-$(CONFIG_IIO)		+= iio/
db3b9e990   Greg Kroah-Hartman   Staging: VME: mov...
160
  obj-$(CONFIG_VME_BUS)		+= vme/
05e5027ef   Greg Kroah-Hartman   Staging: ipack: m...
161
  obj-$(CONFIG_IPACK_BUS)		+= ipack/
fce8a7bb5   Jon Mason   PCI-Express Non-T...
162
  obj-$(CONFIG_NTB)		+= ntb/
12cc4b382   Srinivas Pandruvada   PowerCap: Add to ...
163
  obj-$(CONFIG_POWERCAP)		+= powercap/
3764e82e5   Johannes Thumshirn   drivers: Introduc...
164
  obj-$(CONFIG_MCB)		+= mcb/
fa8ad7889   Mark Rutland   arm: perf: factor...
165
  obj-$(CONFIG_PERF_EVENTS)	+= perf/
76ac8275f   Chen, Gong   trace, RAS: Add b...
166
  obj-$(CONFIG_RAS)		+= ras/
690ac0d20   Mika Westerberg   thunderbolt: Upda...
167
  obj-$(CONFIG_USB4)		+= thunderbolt/
01081f5ab   Mathieu Poirier   coresight: moving...
168
  obj-$(CONFIG_CORESIGHT)		+= hwtracing/coresight/
39f403469   Alexander Shishkin   intel_th: Add dri...
169
  obj-y				+= hwtracing/intel_th/
7bd1d4093   Alexander Shishkin   stm class: Introd...
170
  obj-$(CONFIG_STM)		+= hwtracing/stm/
777783e0a   Greg Kroah-Hartman   staging: android:...
171
  obj-$(CONFIG_ANDROID)		+= android/
eace75cfd   Srinivas Kandagatla   nvmem: Add a simp...
172
  obj-$(CONFIG_NVMEM)		+= nvmem/
6a8c3be7e   Alan Tull   add FPGA manager ...
173
  obj-$(CONFIG_FPGA)		+= fpga/
0508ad1ff   Jeremy Kerr   drivers/fsi: Add ...
174
  obj-$(CONFIG_FSI)		+= fsi/
967c9cca2   Jens Wiklander   tee: generic TEE ...
175
  obj-$(CONFIG_TEE)		+= tee/
a3b02a9c6   Peter Rosin   mux: minimal mux ...
176
  obj-$(CONFIG_MULTIPLEXER)	+= mux/
93d3ad90c   David Kershner   drivers: visorbus...
177
  obj-$(CONFIG_UNISYS_VISORBUS)	+= visorbus/
bbecb07fa   Uwe Kleine-König   siox: new driver ...
178
  obj-$(CONFIG_SIOX)		+= siox/
2b6a44035   Johan Hovold   gnss: add GNSS re...
179
  obj-$(CONFIG_GNSS)		+= gnss/
11f1ceca7   Georgi Djakov   interconnect: Add...
180
  obj-$(CONFIG_INTERCONNECT)	+= interconnect/
0040a390d   William Breathitt Gray   counter: Introduc...
181
  obj-$(CONFIG_COUNTER)		+= counter/
b27652753   Christian Gromm   staging: most: mo...
182
  obj-$(CONFIG_MOST)		+= most/
d8b6f7110   Xianzhong   MGS-4530-1 add 6....
183
  obj-y		 		+= mxc/