modules.mk 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2017 Cezary Jackiewicz <[email protected]>
  4. define KernelPackage/amd-xgbe
  5. SUBMENU:=$(NETWORK_DEVICES_MENU)
  6. TITLE:=AMD Ethernet on SoC support
  7. DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +kmod-mdio-devres
  8. KCONFIG:=CONFIG_AMD_XGBE
  9. FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/xgbe/amd-xgbe.ko
  10. AUTOLOAD:=$(call AutoLoad,35,amd-xgbe)
  11. endef
  12. define KernelPackage/amd-xgbe/description
  13. Kernel modules for AMD 10GbE Ethernet device on an AMD SoC.
  14. endef
  15. $(eval $(call KernelPackage,amd-xgbe))
  16. define KernelPackage/dwmac-intel
  17. SUBMENU:=$(NETWORK_DEVICES_MENU)
  18. TITLE:=Intel GMAC support
  19. DEPENDS:=@TARGET_x86_64 +kmod-stmmac-core
  20. KCONFIG:=CONFIG_DWMAC_INTEL
  21. FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.ko
  22. AUTOLOAD=$(call AutoLoad,45,dwmac-intel)
  23. endef
  24. $(eval $(call KernelPackage,dwmac-intel))
  25. define KernelPackage/f71808e-wdt
  26. SUBMENU:=$(OTHER_MENU)
  27. TITLE:=Fintek F718xx/F818xx Watchdog Timer
  28. DEPENDS:=@TARGET_x86
  29. KCONFIG:=\
  30. CONFIG_F71808E_WDT \
  31. CONFIG_WATCHDOG_CORE=y
  32. FILES:=$(LINUX_DIR)/drivers/watchdog/f71808e_wdt.ko
  33. AUTOLOAD:=$(call AutoProbe,f71808e-wdt,1)
  34. endef
  35. define KernelPackage/f71808e-wdt/description
  36. Kernel module for the watchdog timer found on many Fintek Super-IO chips.
  37. endef
  38. $(eval $(call KernelPackage,f71808e-wdt))
  39. define KernelPackage/sound-cs5535audio
  40. TITLE:=CS5535/CS5536 Audio Controller
  41. DEPENDS:=@TARGET_x86_geode +kmod-ac97
  42. KCONFIG:=CONFIG_SND_CS5535AUDIO
  43. FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
  44. AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
  45. $(call AddDepends/sound)
  46. endef
  47. define KernelPackage/sound-cs5535audio/description
  48. Support for the integrated AC97 sound device on motherboards
  49. with AMD CS5535/CS5536 chipsets.
  50. endef
  51. $(eval $(call KernelPackage,sound-cs5535audio))
  52. define KernelPackage/sp5100-tco
  53. SUBMENU:=$(OTHER_MENU)
  54. TITLE:=SP5100 Watchdog Support
  55. DEPENDS:=@TARGET_x86
  56. KCONFIG:=CONFIG_SP5100_TCO
  57. FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
  58. AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
  59. endef
  60. define KernelPackage/sp5100-tco/description
  61. Kernel module for the SP5100_TCO hardware watchdog.
  62. endef
  63. $(eval $(call KernelPackage,sp5100-tco))
  64. define KernelPackage/ib700-wdt
  65. SUBMENU:=$(OTHER_MENU)
  66. TITLE:=IB700 SBC Watchdog Timer
  67. DEPENDS:=@TARGET_x86
  68. KCONFIG:=CONFIG_IB700_WDT
  69. FILES:=$(LINUX_DIR)/drivers/watchdog/ib700wdt.ko
  70. AUTOLOAD:=$(call AutoLoad,50,ib700wdt,1)
  71. endef
  72. define KernelPackage/ib700-wdt/description
  73. Kernel module for the hardware watchdog on the IB700 Single
  74. Board Computer produced by TMC Technology (www.tmc-uk.com).
  75. Also used by QEMU/libvirt.
  76. endef
  77. $(eval $(call KernelPackage,ib700-wdt))
  78. define KernelPackage/it87-wdt
  79. SUBMENU:=$(OTHER_MENU)
  80. TITLE:=ITE IT87 Watchdog Timer
  81. DEPENDS:=@TARGET_x86
  82. KCONFIG:=CONFIG_IT87_WDT
  83. FILES:=$(LINUX_DIR)/drivers/watchdog/it87_wdt.ko
  84. AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
  85. MODPARAMS.it87-wdt:= \
  86. nogameport=1 \
  87. nocir=1
  88. endef
  89. define KernelPackage/it87-wdt/description
  90. Kernel module for ITE IT87 Watchdog Timer
  91. endef
  92. $(eval $(call KernelPackage,it87-wdt))
  93. define KernelPackage/itco-wdt
  94. SUBMENU:=$(OTHER_MENU)
  95. TITLE:=Intel iTCO Watchdog Timer
  96. DEPENDS:=@TARGET_x86
  97. KCONFIG:=\
  98. CONFIG_ITCO_WDT \
  99. CONFIG_ITCO_VENDOR_SUPPORT=y \
  100. CONFIG_WATCHDOG_CORE=y
  101. FILES:=$(LINUX_DIR)/drivers/watchdog/iTCO_wdt.ko \
  102. $(LINUX_DIR)/drivers/watchdog/iTCO_vendor_support.ko
  103. AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
  104. endef
  105. define KernelPackage/itco-wdt/description
  106. Kernel module for Intel iTCO Watchdog Timer
  107. endef
  108. $(eval $(call KernelPackage,itco-wdt))
  109. define KernelPackage/pcengines-apuv2
  110. SUBMENU:=$(OTHER_MENU)
  111. TITLE:=PC Engines APUv2/3 front button and LEDs driver
  112. DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
  113. KCONFIG:=CONFIG_PCENGINES_APU2
  114. FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
  115. AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
  116. endef
  117. define KernelPackage/pcengines-apuv2/description
  118. This driver provides support for the front button and LEDs on
  119. PC Engines APUv2/APUv3 board.
  120. endef
  121. $(eval $(call KernelPackage,pcengines-apuv2))
  122. define KernelPackage/meraki-mx100
  123. SUBMENU:=$(OTHER_MENU)
  124. TITLE:=Cisco Meraki MX100 Platform Driver
  125. DEPENDS:=@TARGET_x86 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
  126. +kmod-usb-ledtrig-usbport +PACKAGE_kmod-meraki-mx100:nu801 +kmod-itco-wdt \
  127. +kmod-leds-uleds
  128. KCONFIG:=CONFIG_MERAKI_MX100
  129. FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
  130. AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
  131. endef
  132. define KernelPackage/meraki-mx100/description
  133. This driver provides support for the front button and LEDs on
  134. the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
  135. selects the gpio-cdev nu801 userspace driver to support the Status
  136. LED, as well as other required platform drivers.
  137. endef
  138. $(eval $(call KernelPackage,meraki-mx100))
  139. define KernelPackage/w83627hf-wdt
  140. SUBMENU:=$(OTHER_MENU)
  141. TITLE:=Winbond 83627HF Watchdog Timer
  142. DEPENDS:=@TARGET_x86
  143. KCONFIG:=\
  144. CONFIG_W83627HF_WDT \
  145. CONFIG_WATCHDOG_CORE=y
  146. FILES:=$(LINUX_DIR)/drivers/watchdog/w83627hf_wdt.ko
  147. AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
  148. endef
  149. define KernelPackage/w83627hf-wdt/description
  150. Kernel module for Winbond 83627HF Watchdog Timer
  151. endef
  152. $(eval $(call KernelPackage,w83627hf-wdt))