hwmon.mk 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. #
  2. # Copyright (C) 2006-2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. HWMON_MENU:=Hardware Monitoring Support
  8. define KernelPackage/hwmon-core
  9. SUBMENU:=$(HWMON_MENU)
  10. TITLE:=Hardware monitoring support
  11. KCONFIG:= \
  12. CONFIG_HWMON \
  13. CONFIG_HWMON_DEBUG_CHIP=n
  14. FILES:= \
  15. $(LINUX_DIR)/drivers/hwmon/hwmon.ko
  16. AUTOLOAD:=$(call AutoLoad,40,hwmon)
  17. endef
  18. define KernelPackage/hwmon-core/description
  19. Kernel modules for hardware monitoring
  20. endef
  21. $(eval $(call KernelPackage,hwmon-core))
  22. define AddDepends/hwmon
  23. SUBMENU:=$(HWMON_MENU)
  24. DEPENDS:=kmod-hwmon-core $(1)
  25. endef
  26. define KernelPackage/hwmon-lm63
  27. TITLE:=LM63/64 monitoring support
  28. KCONFIG:=CONFIG_SENSORS_LM63
  29. FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
  30. AUTOLOAD:=$(call AutoLoad,60,lm63)
  31. $(call AddDepends/hwmon,+kmod-i2c-core)
  32. endef
  33. define KernelPackage/hwmon-lm63/description
  34. Kernel module for lm63 and lm64 thermal monitor chip
  35. endef
  36. $(eval $(call KernelPackage,hwmon-lm63))
  37. define KernelPackage/hwmon-lm75
  38. TITLE:=LM75 monitoring support
  39. KCONFIG:=CONFIG_SENSORS_LM75
  40. FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
  41. AUTOLOAD:=$(call AutoLoad,60,lm75)
  42. $(call AddDepends/hwmon,+kmod-i2c-core)
  43. endef
  44. define KernelPackage/hwmon-lm75/description
  45. Kernel module for lm75 thermal monitor chip
  46. endef
  47. $(eval $(call KernelPackage,hwmon-lm75))
  48. define KernelPackage/hwmon-lm77
  49. TITLE:=LM77 monitoring support
  50. KCONFIG:=CONFIG_SENSORS_LM77
  51. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
  52. AUTOLOAD:=$(call AutoLoad,60,lm77)
  53. $(call AddDepends/hwmon,+kmod-i2c-core)
  54. endef
  55. define KernelPackage/hwmon-lm77/description
  56. Kernel module for LM77 thermal monitor chip
  57. endef
  58. $(eval $(call KernelPackage,hwmon-lm77))
  59. define KernelPackage/hwmon-lm90
  60. TITLE:=LM90 monitoring support
  61. KCONFIG:=CONFIG_SENSORS_LM90
  62. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
  63. AUTOLOAD:=$(call AutoLoad,60,lm90)
  64. $(call AddDepends/hwmon,+kmod-i2c-core)
  65. endef
  66. define KernelPackage/hwmon-lm90/description
  67. Kernel module for LM90 thermal monitor chip
  68. endef
  69. $(eval $(call KernelPackage,hwmon-lm90))
  70. define KernelPackage/hwmon-lm95241
  71. TITLE:=LM95241 monitoring support
  72. KCONFIG:=CONFIG_SENSORS_LM95241
  73. FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
  74. AUTOLOAD:=$(call AutoLoad,60,lm95241)
  75. $(call AddDepends/hwmon,+kmod-i2c-core)
  76. endef
  77. define KernelPackage/hwmon-lm95241/description
  78. Kernel module for LM95241 thermal monitor chip
  79. endef
  80. $(eval $(call KernelPackage,hwmon-lm95241))
  81. define KernelPackage/hwmon-sht21
  82. TITLE:=Sensiron SHT21 and compat. monitoring support
  83. KCONFIG:=CONFIG_SENSORS_SHT21
  84. FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
  85. AUTOLOAD:=$(call AutoLoad,60,sht21)
  86. $(call AddDepends/hwmon,+kmod-i2c-core)
  87. endef
  88. define KernelPackage/hwmon-sht21/description
  89. Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
  90. endef
  91. $(eval $(call KernelPackage,hwmon-sht21))
  92. define KernelPackage/hwmon-pc87360
  93. TITLE:=PC87360 monitoring support
  94. KCONFIG:= \
  95. CONFIG_SENSORS_PC87360 \
  96. CONFIG_HWMON_VID
  97. FILES:= \
  98. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
  99. $(LINUX_DIR)/drivers/hwmon/pc87360.ko
  100. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
  101. $(call AddDepends/hwmon,@TARGET_x86)
  102. endef
  103. define KernelPackage/hwmon-pc87360/description
  104. Kernel modules for PC87360 chips
  105. endef
  106. $(eval $(call KernelPackage,hwmon-pc87360))
  107. define KernelPackage/hwmon-w83627hf
  108. TITLE:=Winbond W83627HF monitoring support
  109. KCONFIG:= \
  110. CONFIG_SENSORS_W83627HF \
  111. CONFIG_HWMON_VID
  112. FILES:= \
  113. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
  114. $(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  115. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627hf)
  116. $(call AddDepends/hwmon,@TARGET_rdc||TARGET_x86)
  117. endef
  118. define KernelPacakge/hwmon-w83627hf/description
  119. Kernel module for the Winbond W83627HF chips.
  120. endef
  121. $(eval $(call KernelPackage,hwmon-w83627hf))