Makefile 5.0 KB

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