Makefile 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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-y += 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-$(CONFIG_IPMI_HANDLER) += 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. # Many drivers will want to use DMA so this has to be made available
  28. # really early.
  29. obj-$(CONFIG_DMADEVICES) += dma/
  30. # SOC specific infrastructure drivers.
  31. obj-y += soc/
  32. obj-$(CONFIG_VIRTIO) += virtio/
  33. obj-$(CONFIG_XEN) += xen/
  34. # regulators early, since some subsystems rely on them to initialize
  35. obj-$(CONFIG_REGULATOR) += regulator/
  36. # reset controllers early, since gpu drivers might rely on them to initialize
  37. obj-$(CONFIG_RESET_CONTROLLER) += reset/
  38. # tty/ comes before char/ so that the VT console is the boot-time
  39. # default.
  40. obj-y += tty/
  41. obj-y += char/
  42. # iommu/ comes before gpu as gpu are using iommu controllers
  43. obj-$(CONFIG_IOMMU_SUPPORT) += iommu/
  44. # gpu/ comes after char for AGP vs DRM startup and after iommu
  45. obj-y += gpu/
  46. obj-$(CONFIG_CONNECTOR) += connector/
  47. # i810fb and intelfb depend on char/agp/
  48. obj-$(CONFIG_FB_I810) += video/fbdev/i810/
  49. obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
  50. obj-$(CONFIG_PARPORT) += parport/
  51. obj-$(CONFIG_NVM) += lightnvm/
  52. obj-y += base/ block/ misc/ mfd/ nfc/
  53. obj-$(CONFIG_LIBNVDIMM) += nvdimm/
  54. obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/
  55. obj-$(CONFIG_NUBUS) += nubus/
  56. obj-y += macintosh/
  57. obj-$(CONFIG_IDE) += ide/
  58. obj-$(CONFIG_SCSI) += scsi/
  59. obj-y += nvme/
  60. obj-$(CONFIG_ATA) += ata/
  61. obj-$(CONFIG_TARGET_CORE) += target/
  62. obj-$(CONFIG_MTD) += mtd/
  63. obj-$(CONFIG_SPI) += spi/
  64. obj-$(CONFIG_SPMI) += spmi/
  65. obj-y += hsi/
  66. obj-y += net/
  67. obj-$(CONFIG_ATM) += atm/
  68. obj-$(CONFIG_FUSION) += message/
  69. obj-y += firewire/
  70. obj-$(CONFIG_UIO) += uio/
  71. obj-$(CONFIG_VFIO) += vfio/
  72. obj-y += cdrom/
  73. obj-y += auxdisplay/
  74. obj-$(CONFIG_PCCARD) += pcmcia/
  75. obj-$(CONFIG_DIO) += dio/
  76. obj-$(CONFIG_SBUS) += sbus/
  77. obj-$(CONFIG_ZORRO) += zorro/
  78. obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
  79. obj-$(CONFIG_PARIDE) += block/paride/
  80. obj-$(CONFIG_TC) += tc/
  81. obj-$(CONFIG_UWB) += uwb/
  82. obj-$(CONFIG_USB_PHY) += usb/
  83. obj-$(CONFIG_USB) += usb/
  84. obj-$(CONFIG_USB_SUPPORT) += usb/
  85. obj-$(CONFIG_PCI) += usb/
  86. obj-$(CONFIG_USB_GADGET) += usb/
  87. obj-$(CONFIG_OF) += usb/
  88. obj-$(CONFIG_SERIO) += input/serio/
  89. obj-$(CONFIG_GAMEPORT) += input/gameport/
  90. obj-$(CONFIG_INPUT) += input/
  91. obj-$(CONFIG_RTC_LIB) += rtc/
  92. obj-y += i2c/ media/
  93. obj-$(CONFIG_PPS) += pps/
  94. obj-$(CONFIG_PTP_1588_CLOCK) += ptp/
  95. obj-$(CONFIG_W1) += w1/
  96. obj-$(CONFIG_POWER_SUPPLY) += power/
  97. obj-$(CONFIG_HWMON) += hwmon/
  98. obj-$(CONFIG_THERMAL) += thermal/
  99. obj-$(CONFIG_WATCHDOG) += watchdog/
  100. obj-$(CONFIG_MD) += md/
  101. obj-$(CONFIG_BT) += bluetooth/
  102. obj-$(CONFIG_ACCESSIBILITY) += accessibility/
  103. obj-$(CONFIG_ISDN) += isdn/
  104. obj-$(CONFIG_EDAC) += edac/
  105. obj-$(CONFIG_EISA) += eisa/
  106. obj-y += lguest/
  107. obj-$(CONFIG_CPU_FREQ) += cpufreq/
  108. obj-$(CONFIG_CPU_IDLE) += cpuidle/
  109. obj-y += mmc/
  110. obj-$(CONFIG_MEMSTICK) += memstick/
  111. obj-y += leds/
  112. obj-$(CONFIG_INFINIBAND) += infiniband/
  113. obj-$(CONFIG_SGI_SN) += sn/
  114. obj-y += firmware/
  115. obj-$(CONFIG_CRYPTO) += crypto/
  116. obj-$(CONFIG_SUPERH) += sh/
  117. obj-$(CONFIG_ARCH_SHMOBILE) += sh/
  118. ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
  119. obj-y += clocksource/
  120. endif
  121. obj-$(CONFIG_DCA) += dca/
  122. obj-$(CONFIG_HID) += hid/
  123. obj-$(CONFIG_PPC_PS3) += ps3/
  124. obj-$(CONFIG_OF) += of/
  125. obj-$(CONFIG_SSB) += ssb/
  126. obj-$(CONFIG_BCMA) += bcma/
  127. obj-$(CONFIG_VHOST_RING) += vhost/
  128. obj-$(CONFIG_VLYNQ) += vlynq/
  129. obj-$(CONFIG_STAGING) += staging/
  130. obj-y += platform/
  131. #common clk code
  132. obj-y += clk/
  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/