xref: /linux/drivers/Makefile (revision 300586778d405f0a4d1f6dc51fcfb4fed567d020)
1#
2# Makefile for the Linux kernel device drivers.
3#
4# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
5# Rewritten to use lists instead of if-statements.
6#
7
8obj-y				+= irqchip/
9obj-y				+= bus/
10
11# GPIO must come after pinctrl as gpios may need to mux pins etc
12obj-y				+= pinctrl/
13obj-y				+= gpio/
14obj-y				+= pwm/
15obj-$(CONFIG_PCI)		+= pci/
16obj-$(CONFIG_PARISC)		+= parisc/
17obj-$(CONFIG_RAPIDIO)		+= rapidio/
18obj-y				+= video/
19obj-y				+= idle/
20
21# IPMI must come before ACPI in order to provide IPMI opregion support
22obj-$(CONFIG_IPMI_HANDLER)	+= char/ipmi/
23
24obj-$(CONFIG_ACPI)		+= acpi/
25obj-$(CONFIG_SFI)		+= sfi/
26# PnP must come after ACPI since it will eventually need to check if acpi
27# was used and do nothing if so
28obj-$(CONFIG_PNP)		+= pnp/
29obj-y				+= amba/
30# Many drivers will want to use DMA so this has to be made available
31# really early.
32obj-$(CONFIG_DMA_ENGINE)	+= dma/
33
34obj-$(CONFIG_VIRTIO)		+= virtio/
35obj-$(CONFIG_XEN)		+= xen/
36
37# regulators early, since some subsystems rely on them to initialize
38obj-$(CONFIG_REGULATOR)		+= regulator/
39
40# tty/ comes before char/ so that the VT console is the boot-time
41# default.
42obj-y				+= tty/
43obj-y				+= char/
44
45# gpu/ comes after char for AGP vs DRM startup
46obj-y				+= gpu/
47
48obj-$(CONFIG_CONNECTOR)		+= connector/
49
50# i810fb and intelfb depend on char/agp/
51obj-$(CONFIG_FB_I810)           += video/i810/
52obj-$(CONFIG_FB_INTEL)          += video/intelfb/
53
54obj-$(CONFIG_PARPORT)		+= parport/
55obj-y				+= base/ block/ misc/ mfd/ nfc/
56obj-$(CONFIG_NUBUS)		+= nubus/
57obj-y				+= macintosh/
58obj-$(CONFIG_IDE)		+= ide/
59obj-$(CONFIG_SCSI)		+= scsi/
60obj-$(CONFIG_ATA)		+= ata/
61obj-$(CONFIG_TARGET_CORE)	+= target/
62obj-$(CONFIG_MTD)		+= mtd/
63obj-$(CONFIG_SPI)		+= spi/
64obj-y				+= hsi/
65obj-y				+= net/
66obj-$(CONFIG_ATM)		+= atm/
67obj-$(CONFIG_FUSION)		+= message/
68obj-y				+= firewire/
69obj-$(CONFIG_UIO)		+= uio/
70obj-$(CONFIG_VFIO)		+= vfio/
71obj-y				+= cdrom/
72obj-y				+= auxdisplay/
73obj-$(CONFIG_PCCARD)		+= pcmcia/
74obj-$(CONFIG_DIO)		+= dio/
75obj-$(CONFIG_SBUS)		+= sbus/
76obj-$(CONFIG_ZORRO)		+= zorro/
77obj-$(CONFIG_MAC)		+= macintosh/
78obj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
79obj-$(CONFIG_PARIDE) 		+= block/paride/
80obj-$(CONFIG_TC)		+= tc/
81obj-$(CONFIG_UWB)		+= uwb/
82obj-$(CONFIG_USB_OTG_UTILS)	+= usb/
83obj-$(CONFIG_USB)		+= usb/
84obj-$(CONFIG_PCI)		+= usb/
85obj-$(CONFIG_USB_GADGET)	+= usb/
86obj-$(CONFIG_SERIO)		+= input/serio/
87obj-$(CONFIG_GAMEPORT)		+= input/gameport/
88obj-$(CONFIG_INPUT)		+= input/
89obj-$(CONFIG_I2O)		+= message/
90obj-$(CONFIG_RTC_LIB)		+= rtc/
91obj-y				+= i2c/ media/
92obj-$(CONFIG_PPS)		+= pps/
93obj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
94obj-$(CONFIG_W1)		+= w1/
95obj-$(CONFIG_POWER_SUPPLY)	+= power/
96obj-$(CONFIG_HWMON)		+= hwmon/
97obj-$(CONFIG_THERMAL)		+= thermal/
98obj-$(CONFIG_WATCHDOG)		+= watchdog/
99obj-$(CONFIG_MD)		+= md/
100obj-$(CONFIG_BT)		+= bluetooth/
101obj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
102obj-$(CONFIG_ISDN)		+= isdn/
103obj-$(CONFIG_EDAC)		+= edac/
104obj-$(CONFIG_EISA)		+= eisa/
105obj-y				+= lguest/
106obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
107obj-$(CONFIG_CPU_IDLE)		+= cpuidle/
108obj-y				+= mmc/
109obj-$(CONFIG_MEMSTICK)		+= memstick/
110obj-y				+= leds/
111obj-$(CONFIG_INFINIBAND)	+= infiniband/
112obj-$(CONFIG_SGI_SN)		+= sn/
113obj-y				+= firmware/
114obj-$(CONFIG_CRYPTO)		+= crypto/
115obj-$(CONFIG_SUPERH)		+= sh/
116obj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
117ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
118obj-y				+= clocksource/
119endif
120obj-$(CONFIG_DCA)		+= dca/
121obj-$(CONFIG_HID)		+= hid/
122obj-$(CONFIG_PPC_PS3)		+= ps3/
123obj-$(CONFIG_OF)		+= of/
124obj-$(CONFIG_SSB)		+= ssb/
125obj-$(CONFIG_BCMA)		+= bcma/
126obj-$(CONFIG_VHOST_NET)		+= vhost/
127obj-$(CONFIG_VLYNQ)		+= vlynq/
128obj-$(CONFIG_STAGING)		+= staging/
129obj-y				+= platform/
130#common clk code
131obj-y				+= clk/
132
133obj-$(CONFIG_MAILBOX)		+= mailbox/
134obj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
135obj-$(CONFIG_NFC)		+= nfc/
136obj-$(CONFIG_IOMMU_SUPPORT)	+= iommu/
137obj-$(CONFIG_REMOTEPROC)	+= remoteproc/
138obj-$(CONFIG_RPMSG)		+= rpmsg/
139
140# Virtualization drivers
141obj-$(CONFIG_VIRT_DRIVERS)	+= virt/
142obj-$(CONFIG_HYPERV)		+= hv/
143
144obj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
145obj-$(CONFIG_EXTCON)		+= extcon/
146obj-$(CONFIG_MEMORY)		+= memory/
147obj-$(CONFIG_IIO)		+= iio/
148obj-$(CONFIG_VME_BUS)		+= vme/
149obj-$(CONFIG_IPACK_BUS)		+= ipack/
150