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