Makefile 3.5 KB

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