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