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