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 += irqchip/ 9obj-y += bus/ 10 11# GPIO must come after pinctrl as gpios may need to mux pins etc 12obj-y += pinctrl/ 13obj-y += gpio/ 14obj-y += pwm/ 15obj-$(CONFIG_PCI) += pci/ 16obj-$(CONFIG_PARISC) += parisc/ 17obj-$(CONFIG_RAPIDIO) += rapidio/ 18obj-y += video/ 19obj-y += idle/ 20 21# IPMI must come before ACPI in order to provide IPMI opregion support 22obj-$(CONFIG_IPMI_HANDLER) += char/ipmi/ 23 24obj-$(CONFIG_ACPI) += acpi/ 25obj-$(CONFIG_SFI) += sfi/ 26# PnP must come after ACPI since it will eventually need to check if acpi 27# was used and do nothing if so 28obj-$(CONFIG_PNP) += pnp/ 29obj-y += amba/ 30# Many drivers will want to use DMA so this has to be made available 31# really early. 32obj-$(CONFIG_DMADEVICES) += dma/ 33 34obj-$(CONFIG_VIRTIO) += virtio/ 35obj-$(CONFIG_XEN) += xen/ 36 37# regulators early, since some subsystems rely on them to initialize 38obj-$(CONFIG_REGULATOR) += regulator/ 39 40# reset controllers early, since gpu drivers might rely on them to initialize 41obj-$(CONFIG_RESET_CONTROLLER) += reset/ 42 43# tty/ comes before char/ so that the VT console is the boot-time 44# default. 45obj-y += tty/ 46obj-y += char/ 47 48# gpu/ comes after char for AGP vs DRM startup 49obj-y += gpu/ 50 51obj-$(CONFIG_CONNECTOR) += connector/ 52 53# i810fb and intelfb depend on char/agp/ 54obj-$(CONFIG_FB_I810) += video/i810/ 55obj-$(CONFIG_FB_INTEL) += video/intelfb/ 56 57obj-$(CONFIG_PARPORT) += parport/ 58obj-y += base/ block/ misc/ mfd/ nfc/ 59obj-$(CONFIG_NUBUS) += nubus/ 60obj-y += macintosh/ 61obj-$(CONFIG_IDE) += ide/ 62obj-$(CONFIG_SCSI) += scsi/ 63obj-$(CONFIG_ATA) += ata/ 64obj-$(CONFIG_TARGET_CORE) += target/ 65obj-$(CONFIG_MTD) += mtd/ 66obj-$(CONFIG_SPI) += spi/ 67obj-y += hsi/ 68obj-y += net/ 69obj-$(CONFIG_ATM) += atm/ 70obj-$(CONFIG_FUSION) += message/ 71obj-y += firewire/ 72obj-$(CONFIG_UIO) += uio/ 73obj-$(CONFIG_VFIO) += vfio/ 74obj-y += cdrom/ 75obj-y += auxdisplay/ 76obj-$(CONFIG_PCCARD) += pcmcia/ 77obj-$(CONFIG_DIO) += dio/ 78obj-$(CONFIG_SBUS) += sbus/ 79obj-$(CONFIG_ZORRO) += zorro/ 80obj-$(CONFIG_MAC) += macintosh/ 81obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/ 82obj-$(CONFIG_PARIDE) += block/paride/ 83obj-$(CONFIG_TC) += tc/ 84obj-$(CONFIG_UWB) += uwb/ 85obj-$(CONFIG_USB_PHY) += usb/ 86obj-$(CONFIG_USB) += usb/ 87obj-$(CONFIG_PCI) += usb/ 88obj-$(CONFIG_USB_GADGET) += usb/ 89obj-$(CONFIG_SERIO) += input/serio/ 90obj-$(CONFIG_GAMEPORT) += input/gameport/ 91obj-$(CONFIG_INPUT) += input/ 92obj-$(CONFIG_I2O) += message/ 93obj-$(CONFIG_RTC_LIB) += rtc/ 94obj-y += i2c/ media/ 95obj-$(CONFIG_PPS) += pps/ 96obj-$(CONFIG_PTP_1588_CLOCK) += ptp/ 97obj-$(CONFIG_W1) += w1/ 98obj-$(CONFIG_POWER_SUPPLY) += power/ 99obj-$(CONFIG_HWMON) += hwmon/ 100obj-$(CONFIG_THERMAL) += thermal/ 101obj-$(CONFIG_WATCHDOG) += watchdog/ 102obj-$(CONFIG_MD) += md/ 103obj-$(CONFIG_BT) += bluetooth/ 104obj-$(CONFIG_ACCESSIBILITY) += accessibility/ 105obj-$(CONFIG_ISDN) += isdn/ 106obj-$(CONFIG_EDAC) += edac/ 107obj-$(CONFIG_EISA) += eisa/ 108obj-y += lguest/ 109obj-$(CONFIG_CPU_FREQ) += cpufreq/ 110obj-$(CONFIG_CPU_IDLE) += cpuidle/ 111obj-y += mmc/ 112obj-$(CONFIG_MEMSTICK) += memstick/ 113obj-y += leds/ 114obj-$(CONFIG_INFINIBAND) += infiniband/ 115obj-$(CONFIG_SGI_SN) += sn/ 116obj-y += firmware/ 117obj-$(CONFIG_CRYPTO) += crypto/ 118obj-$(CONFIG_SUPERH) += sh/ 119obj-$(CONFIG_ARCH_SHMOBILE) += sh/ 120ifndef CONFIG_ARCH_USES_GETTIMEOFFSET 121obj-y += clocksource/ 122endif 123obj-$(CONFIG_DCA) += dca/ 124obj-$(CONFIG_HID) += hid/ 125obj-$(CONFIG_PPC_PS3) += ps3/ 126obj-$(CONFIG_OF) += of/ 127obj-$(CONFIG_SSB) += ssb/ 128obj-$(CONFIG_BCMA) += bcma/ 129obj-$(CONFIG_VHOST_RING) += vhost/ 130obj-$(CONFIG_VLYNQ) += vlynq/ 131obj-$(CONFIG_STAGING) += staging/ 132obj-y += platform/ 133#common clk code 134obj-y += clk/ 135 136obj-$(CONFIG_MAILBOX) += mailbox/ 137obj-$(CONFIG_HWSPINLOCK) += hwspinlock/ 138obj-$(CONFIG_NFC) += nfc/ 139obj-$(CONFIG_IOMMU_SUPPORT) += iommu/ 140obj-$(CONFIG_REMOTEPROC) += remoteproc/ 141obj-$(CONFIG_RPMSG) += rpmsg/ 142 143# Virtualization drivers 144obj-$(CONFIG_VIRT_DRIVERS) += virt/ 145obj-$(CONFIG_HYPERV) += hv/ 146 147obj-$(CONFIG_PM_DEVFREQ) += devfreq/ 148obj-$(CONFIG_EXTCON) += extcon/ 149obj-$(CONFIG_MEMORY) += memory/ 150obj-$(CONFIG_IIO) += iio/ 151obj-$(CONFIG_VME_BUS) += vme/ 152obj-$(CONFIG_IPACK_BUS) += ipack/ 153obj-$(CONFIG_NTB) += ntb/ 154obj-$(CONFIG_FMC) += fmc/ 155