Blame view

drivers/Makefile 4.93 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
  #
  # 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...
7
  obj-y				+= irqchip/
26a84b3ea   Kishon Vijay Abraham I   drivers: bus: add...
8
  obj-y				+= bus/
89214f009   Simon Arlott   ARM: bcm2835: add...
9

ff7649634   Kishon Vijay Abraham I   drivers: phy: add...
10
  obj-$(CONFIG_GENERIC_PHY)	+= phy/
2744e8afb   Linus Walleij   drivers: create a...
11
  # GPIO must come after pinctrl as gpios may need to mux pins etc
95b612cc6   Masahiro Yamada   pinctrl: move CON...
12
  obj-$(CONFIG_PINCTRL)		+= pinctrl/
6b891a264   Andrew F. Davis   gpio: Only descen...
13
  obj-$(CONFIG_GPIOLIB)		+= gpio/
0c2498f16   Sascha Hauer   pwm: Add PWM fram...
14
  obj-y				+= pwm/
6015d2c4c   Linus Torvalds   Link USB drivers ...
15
  obj-$(CONFIG_PCI)		+= pci/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
16
  obj-$(CONFIG_PARISC)		+= parisc/
394b701ce   Matt Porter   [PATCH] RapidIO s...
17
  obj-$(CONFIG_RAPIDIO)		+= rapidio/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
18
  obj-y				+= video/
267171726   Len Brown   intel_idle: nativ...
19
  obj-y				+= idle/
061475b65   Matthew Garrett   IPMI: Change link...
20
21
  
  # IPMI must come before ACPI in order to provide IPMI opregion support
54f9c4d07   Alistair Popple   ipmi: add an Aspe...
22
  obj-y				+= char/ipmi/
061475b65   Matthew Garrett   IPMI: Change link...
23

888ba6c62   Len Brown   [ACPI] delete CON...
24
  obj-$(CONFIG_ACPI)		+= acpi/
6ae6996a4   Feng Tang   SFI: add platform...
25
  obj-$(CONFIG_SFI)		+= sfi/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
26
27
28
  # 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...
29
  obj-y				+= amba/
6eb1c9496   Masahiro Yamada   clk: probe common...
30
31
  
  obj-y				+= clk/
a0eb221a4   Linus Walleij   dmaengine: move l...
32
33
  # Many drivers will want to use DMA so this has to be made available
  # really early.
9a3229939   Philippe De Muyter   powerpc, dma: mov...
34
  obj-$(CONFIG_DMADEVICES)	+= dma/
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
35

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

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

300586778   Rob Herring   ARM / highbank: a...
140
  obj-$(CONFIG_MAILBOX)		+= mailbox/
bd9a4c7df   Ohad Ben-Cohen   drivers: hwspinlo...
141
  obj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
400e64df6   Ohad Ben-Cohen   remoteproc: add f...
142
  obj-$(CONFIG_REMOTEPROC)	+= remoteproc/
bcabbccab   Ohad Ben-Cohen   rpmsg: add virtio...
143
  obj-$(CONFIG_RPMSG)		+= rpmsg/
6db719940   Timur Tabi   drivers/virt: int...
144
145
146
  
  # Virtualization drivers
  obj-$(CONFIG_VIRT_DRIVERS)	+= virt/
46a971913   Greg Kroah-Hartman   Staging: hv: move...
147
  obj-$(CONFIG_HYPERV)		+= hv/
a3c98b8b2   MyungJoo Ham   PM: Introduce dev...
148
149
  
  obj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
de55d8716   MyungJoo Ham   Extcon (external ...
150
  obj-$(CONFIG_EXTCON)		+= extcon/
7ec944538   Aneesh V   memory: emif: add...
151
  obj-$(CONFIG_MEMORY)		+= memory/
a980e0460   Jonathan Cameron   IIO: Move the cor...
152
  obj-$(CONFIG_IIO)		+= iio/
db3b9e990   Greg Kroah-Hartman   Staging: VME: mov...
153
  obj-$(CONFIG_VME_BUS)		+= vme/
05e5027ef   Greg Kroah-Hartman   Staging: ipack: m...
154
  obj-$(CONFIG_IPACK_BUS)		+= ipack/
fce8a7bb5   Jon Mason   PCI-Express Non-T...
155
  obj-$(CONFIG_NTB)		+= ntb/
9c9f32edd   Alessandro Rubini   FMC: create drive...
156
  obj-$(CONFIG_FMC)		+= fmc/
12cc4b382   Srinivas Pandruvada   PowerCap: Add to ...
157
  obj-$(CONFIG_POWERCAP)		+= powercap/
3764e82e5   Johannes Thumshirn   drivers: Introduc...
158
  obj-$(CONFIG_MCB)		+= mcb/
fa8ad7889   Mark Rutland   arm: perf: factor...
159
  obj-$(CONFIG_PERF_EVENTS)	+= perf/
76ac8275f   Chen, Gong   trace, RAS: Add b...
160
  obj-$(CONFIG_RAS)		+= ras/
166031536   Andreas Noever   thunderbolt: Add ...
161
  obj-$(CONFIG_THUNDERBOLT)	+= thunderbolt/
01081f5ab   Mathieu Poirier   coresight: moving...
162
  obj-$(CONFIG_CORESIGHT)		+= hwtracing/coresight/
39f403469   Alexander Shishkin   intel_th: Add dri...
163
  obj-y				+= hwtracing/intel_th/
7bd1d4093   Alexander Shishkin   stm class: Introd...
164
  obj-$(CONFIG_STM)		+= hwtracing/stm/
777783e0a   Greg Kroah-Hartman   staging: android:...
165
  obj-$(CONFIG_ANDROID)		+= android/
eace75cfd   Srinivas Kandagatla   nvmem: Add a simp...
166
  obj-$(CONFIG_NVMEM)		+= nvmem/
6a8c3be7e   Alan Tull   add FPGA manager ...
167
  obj-$(CONFIG_FPGA)		+= fpga/