xref: /linux/drivers/Makefile (revision f43dc23d5ea91fca257be02138a255f02d98e806)
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				+= tty/
30obj-y				+= char/
31
32# gpu/ comes after char for AGP vs DRM startup
33obj-y				+= gpu/
34
35obj-$(CONFIG_CONNECTOR)		+= connector/
36
37# i810fb and intelfb depend on char/agp/
38obj-$(CONFIG_FB_I810)           += video/i810/
39obj-$(CONFIG_FB_INTEL)          += video/intelfb/
40
41obj-y				+= serial/
42obj-$(CONFIG_PARPORT)		+= parport/
43obj-y				+= base/ block/ misc/ mfd/
44obj-$(CONFIG_NUBUS)		+= nubus/
45obj-y				+= macintosh/
46obj-$(CONFIG_IDE)		+= ide/
47obj-$(CONFIG_SCSI)		+= scsi/
48obj-$(CONFIG_ATA)		+= ata/
49obj-$(CONFIG_MTD)		+= mtd/
50obj-$(CONFIG_SPI)		+= spi/
51obj-y				+= net/
52obj-$(CONFIG_ATM)		+= atm/
53obj-$(CONFIG_FUSION)		+= message/
54obj-y				+= firewire/
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_DMA_ENGINE)	+= dma/
96obj-$(CONFIG_MMC)		+= mmc/
97obj-$(CONFIG_MEMSTICK)		+= memstick/
98obj-$(CONFIG_NEW_LEDS)		+= leds/
99obj-$(CONFIG_INFINIBAND)	+= infiniband/
100obj-$(CONFIG_SGI_SN)		+= sn/
101obj-y				+= firmware/
102obj-$(CONFIG_CRYPTO)		+= crypto/
103obj-$(CONFIG_SUPERH)		+= sh/
104obj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
105ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
106obj-y				+= clocksource/
107endif
108obj-$(CONFIG_DCA)		+= dca/
109obj-$(CONFIG_HID)		+= hid/
110obj-$(CONFIG_PPC_PS3)		+= ps3/
111obj-$(CONFIG_OF)		+= of/
112obj-$(CONFIG_SSB)		+= ssb/
113obj-$(CONFIG_VHOST_NET)		+= vhost/
114obj-$(CONFIG_VLYNQ)		+= vlynq/
115obj-$(CONFIG_STAGING)		+= staging/
116obj-y				+= platform/
117obj-y				+= ieee802154/
118#common clk code
119obj-y				+= clk/
120