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_SWITCH) += switch/ 104obj-$(CONFIG_INFINIBAND) += infiniband/ 105obj-$(CONFIG_SGI_SN) += sn/ 106obj-y += firmware/ 107obj-$(CONFIG_CRYPTO) += crypto/ 108obj-$(CONFIG_SUPERH) += sh/ 109obj-$(CONFIG_ARCH_SHMOBILE) += sh/ 110ifndef CONFIG_ARCH_USES_GETTIMEOFFSET 111obj-y += clocksource/ 112endif 113obj-$(CONFIG_DCA) += dca/ 114obj-$(CONFIG_HID) += hid/ 115obj-$(CONFIG_PPC_PS3) += ps3/ 116obj-$(CONFIG_OF) += of/ 117obj-$(CONFIG_SSB) += ssb/ 118obj-$(CONFIG_BCMA) += bcma/ 119obj-$(CONFIG_VHOST_NET) += vhost/ 120obj-$(CONFIG_VLYNQ) += vlynq/ 121obj-$(CONFIG_STAGING) += staging/ 122obj-y += platform/ 123obj-y += ieee802154/ 124#common clk code 125obj-y += clk/ 126 127obj-$(CONFIG_HWSPINLOCK) += hwspinlock/ 128obj-$(CONFIG_NFC) += nfc/ 129obj-$(CONFIG_IOMMU_SUPPORT) += iommu/ 130obj-$(CONFIG_REMOTEPROC) += remoteproc/ 131obj-$(CONFIG_RPMSG) += rpmsg/ 132 133# Virtualization drivers 134obj-$(CONFIG_VIRT_DRIVERS) += virt/ 135obj-$(CONFIG_HYPERV) += hv/ 136 137obj-$(CONFIG_PM_DEVFREQ) += devfreq/ 138