Makefile 4.4 KB

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