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_SWITCH) += switch/ 115obj-$(CONFIG_INFINIBAND) += infiniband/ 116obj-$(CONFIG_SGI_SN) += sn/ 117obj-y += firmware/ 118obj-$(CONFIG_CRYPTO) += crypto/ 119obj-$(CONFIG_SUPERH) += sh/ 120obj-$(CONFIG_ARCH_SHMOBILE) += sh/ 121obj-$(CONFIG_SSBI) += ssbi/ 122ifndef CONFIG_ARCH_USES_GETTIMEOFFSET 123obj-y += clocksource/ 124endif 125obj-$(CONFIG_DCA) += dca/ 126obj-$(CONFIG_HID) += hid/ 127obj-$(CONFIG_PPC_PS3) += ps3/ 128obj-$(CONFIG_OF) += of/ 129obj-$(CONFIG_SSB) += ssb/ 130obj-$(CONFIG_BCMA) += bcma/ 131obj-$(CONFIG_VHOST_RING) += vhost/ 132obj-$(CONFIG_VLYNQ) += vlynq/ 133obj-$(CONFIG_STAGING) += staging/ 134obj-y += platform/ 135#common clk code 136obj-y += clk/ 137 138obj-$(CONFIG_MAILBOX) += mailbox/ 139obj-$(CONFIG_HWSPINLOCK) += hwspinlock/ 140obj-$(CONFIG_NFC) += nfc/ 141obj-$(CONFIG_IOMMU_SUPPORT) += iommu/ 142obj-$(CONFIG_REMOTEPROC) += remoteproc/ 143obj-$(CONFIG_RPMSG) += rpmsg/ 144 145# Virtualization drivers 146obj-$(CONFIG_VIRT_DRIVERS) += virt/ 147obj-$(CONFIG_HYPERV) += hv/ 148 149obj-$(CONFIG_PM_DEVFREQ) += devfreq/ 150obj-$(CONFIG_EXTCON) += extcon/ 151obj-$(CONFIG_MEMORY) += memory/ 152obj-$(CONFIG_IIO) += iio/ 153obj-$(CONFIG_VME_BUS) += vme/ 154obj-$(CONFIG_IPACK_BUS) += ipack/ 155obj-$(CONFIG_NTB) += ntb/ 156obj-$(CONFIG_ANDROID) += android/ 157