xref: /linux/drivers/Makefile (revision 0dd9ac63ce26ec87b080ca9c3e6efed33c23ace6)
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				+= gpio/
9obj-$(CONFIG_PCI)		+= pci/
10obj-$(CONFIG_PARISC)		+= parisc/
11obj-$(CONFIG_RAPIDIO)		+= rapidio/
12obj-y				+= video/
13obj-y				+= idle/
14obj-$(CONFIG_ACPI)		+= acpi/
15obj-$(CONFIG_SFI)		+= sfi/
16# PnP must come after ACPI since it will eventually need to check if acpi
17# was used and do nothing if so
18obj-$(CONFIG_PNP)		+= pnp/
19obj-$(CONFIG_ARM_AMBA)		+= amba/
20
21obj-$(CONFIG_VIRTIO)		+= virtio/
22obj-$(CONFIG_XEN)		+= xen/
23
24# regulators early, since some subsystems rely on them to initialize
25obj-$(CONFIG_REGULATOR)		+= regulator/
26
27# char/ comes before serial/ etc so that the VT console is the boot-time
28# default.
29obj-y				+= char/
30
31# gpu/ comes after char for AGP vs DRM startup
32obj-y				+= gpu/
33
34obj-$(CONFIG_CONNECTOR)		+= connector/
35
36# i810fb and intelfb depend on char/agp/
37obj-$(CONFIG_FB_I810)           += video/i810/
38obj-$(CONFIG_FB_INTEL)          += video/intelfb/
39
40obj-y				+= serial/
41obj-$(CONFIG_PARPORT)		+= parport/
42obj-y				+= base/ block/ misc/ mfd/
43obj-$(CONFIG_NUBUS)		+= nubus/
44obj-y				+= macintosh/
45obj-$(CONFIG_IDE)		+= ide/
46obj-$(CONFIG_SCSI)		+= scsi/
47obj-$(CONFIG_ATA)		+= ata/
48obj-$(CONFIG_MTD)		+= mtd/
49obj-$(CONFIG_SPI)		+= spi/
50obj-y				+= net/
51obj-$(CONFIG_ATM)		+= atm/
52obj-$(CONFIG_FUSION)		+= message/
53obj-$(CONFIG_FIREWIRE)		+= firewire/
54obj-y				+= ieee1394/
55obj-$(CONFIG_UIO)		+= uio/
56obj-y				+= cdrom/
57obj-y				+= auxdisplay/
58obj-$(CONFIG_PCCARD)		+= pcmcia/
59obj-$(CONFIG_DIO)		+= dio/
60obj-$(CONFIG_SBUS)		+= sbus/
61obj-$(CONFIG_ZORRO)		+= zorro/
62obj-$(CONFIG_MAC)		+= macintosh/
63obj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
64obj-$(CONFIG_PARIDE) 		+= block/paride/
65obj-$(CONFIG_TC)		+= tc/
66obj-$(CONFIG_UWB)		+= uwb/
67obj-$(CONFIG_USB_OTG_UTILS)	+= usb/otg/
68obj-$(CONFIG_USB)		+= usb/
69obj-$(CONFIG_USB_MUSB_HDRC)	+= usb/musb/
70obj-$(CONFIG_PCI)		+= usb/
71obj-$(CONFIG_USB_GADGET)	+= usb/gadget/
72obj-$(CONFIG_SERIO)		+= input/serio/
73obj-$(CONFIG_GAMEPORT)		+= input/gameport/
74obj-$(CONFIG_INPUT)		+= input/
75obj-$(CONFIG_I2O)		+= message/
76obj-$(CONFIG_RTC_LIB)		+= rtc/
77obj-y				+= i2c/ media/
78obj-$(CONFIG_PPS)		+= pps/
79obj-$(CONFIG_W1)		+= w1/
80obj-$(CONFIG_POWER_SUPPLY)	+= power/
81obj-$(CONFIG_HWMON)		+= hwmon/
82obj-$(CONFIG_THERMAL)		+= thermal/
83obj-$(CONFIG_WATCHDOG)		+= watchdog/
84obj-$(CONFIG_PHONE)		+= telephony/
85obj-$(CONFIG_MD)		+= md/
86obj-$(CONFIG_BT)		+= bluetooth/
87obj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
88obj-$(CONFIG_ISDN)		+= isdn/
89obj-$(CONFIG_EDAC)		+= edac/
90obj-$(CONFIG_MCA)		+= mca/
91obj-$(CONFIG_EISA)		+= eisa/
92obj-y				+= lguest/
93obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
94obj-$(CONFIG_CPU_IDLE)		+= cpuidle/
95obj-$(CONFIG_MMC)		+= mmc/
96obj-$(CONFIG_MEMSTICK)		+= memstick/
97obj-$(CONFIG_NEW_LEDS)		+= leds/
98obj-$(CONFIG_INFINIBAND)	+= infiniband/
99obj-$(CONFIG_SGI_SN)		+= sn/
100obj-y				+= firmware/
101obj-$(CONFIG_CRYPTO)		+= crypto/
102obj-$(CONFIG_SUPERH)		+= sh/
103obj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
104obj-$(CONFIG_GENERIC_TIME)	+= clocksource/
105obj-$(CONFIG_DMA_ENGINE)	+= dma/
106obj-$(CONFIG_DCA)		+= dca/
107obj-$(CONFIG_HID)		+= hid/
108obj-$(CONFIG_PPC_PS3)		+= ps3/
109obj-$(CONFIG_OF)		+= of/
110obj-$(CONFIG_SSB)		+= ssb/
111obj-$(CONFIG_VHOST_NET)		+= vhost/
112obj-$(CONFIG_VLYNQ)		+= vlynq/
113obj-$(CONFIG_STAGING)		+= staging/
114obj-y				+= platform/
115obj-y				+= ieee802154/
116