hwmon.mk 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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-pc87360
  71. TITLE:=PC87360 monitoring support
  72. KCONFIG:= \
  73. CONFIG_SENSORS_PC87360 \
  74. CONFIG_HWMON_VID
  75. FILES:= \
  76. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
  77. $(LINUX_DIR)/drivers/hwmon/pc87360.ko
  78. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
  79. $(call AddDepends/hwmon,@TARGET_x86)
  80. endef
  81. define KernelPackage/hwmon-pc87360/description
  82. Kernel modules for PC87360 chips
  83. endef
  84. $(eval $(call KernelPackage,hwmon-pc87360))
  85. define KernelPackage/hwmon-w83627hf
  86. TITLE:=Winbond W83627HF monitoring support
  87. KCONFIG:= \
  88. CONFIG_SENSORS_W83627HF \
  89. CONFIG_HWMON_VID
  90. FILES:= \
  91. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
  92. $(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  93. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627hf)
  94. $(call AddDepends/hwmon,@TARGET_rdc||TARGET_x86)
  95. endef
  96. define KernelPacakge/hwmon-w83627hf/description
  97. Kernel module for the Winbond W83627HF chips.
  98. endef
  99. $(eval $(call KernelPackage,hwmon-w83627hf))