hwmon.mk 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. #
  2. # Copyright (C) 2006,2007 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. DEPENDS:=@LINUX_2_6
  12. KCONFIG:= \
  13. CONFIG_HWMON \
  14. CONFIG_HWMON_DEBUG_CHIP=n
  15. FILES:= \
  16. $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX)
  17. AUTOLOAD:=$(call AutoLoad,40,hwmon)
  18. endef
  19. define KernelPackage/hwmon-core/description
  20. Kernel modules for hardware monitoring
  21. endef
  22. $(eval $(call KernelPackage,hwmon-core))
  23. define KernelPackage/hwmon-lm75
  24. SUBMENU:=$(HWMON_MENU)
  25. TITLE:=LM75 monitoring support
  26. DEPENDS:=kmod-hwmon-core +kmod-i2c-core
  27. KCONFIG:=CONFIG_SENSORS_LM75
  28. FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.$(LINUX_KMOD_SUFFIX)
  29. AUTOLOAD:=$(call AutoLoad,60,lm75)
  30. endef
  31. define KernelPackage/hwmon-lm75/description
  32. Kernel module for lm75 thermal monitor chip
  33. endef
  34. $(eval $(call KernelPackage,hwmon-lm75))
  35. define KernelPackage/hwmon-lm77
  36. SUBMENU:=$(HWMON_MENU)
  37. TITLE:=LM77 monitoring support
  38. DEPENDS:=kmod-hwmon-core +kmod-i2c-core
  39. KCONFIG:=CONFIG_SENSORS_LM77
  40. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
  41. AUTOLOAD:=$(call AutoLoad,60,lm77)
  42. endef
  43. define KernelPackage/hwmon-lm77/description
  44. Kernel module for LM77 thermal monitor chip
  45. endef
  46. $(eval $(call KernelPackage,hwmon-lm77))
  47. define KernelPackage/hwmon-lm90
  48. SUBMENU:=$(HWMON_MENU)
  49. TITLE:=LM90 monitoring support
  50. DEPENDS:=kmod-hwmon-core +kmod-i2c-core
  51. KCONFIG:=CONFIG_SENSORS_LM90
  52. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX)
  53. AUTOLOAD:=$(call AutoLoad,60,lm90)
  54. endef
  55. define KernelPackage/hwmon-lm90/description
  56. Kernel module for LM90 thermal monitor chip
  57. endef
  58. $(eval $(call KernelPackage,hwmon-lm90))
  59. define KernelPackage/hwmon-pc87360
  60. SUBMENU:=$(HWMON_MENU)
  61. TITLE:=PC87360 monitoring support
  62. DEPENDS:=kmod-hwmon-core @TARGET_x86
  63. KCONFIG:= \
  64. CONFIG_SENSORS_PC87360 \
  65. CONFIG_HWMON_VID
  66. FILES:= \
  67. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
  68. $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
  69. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
  70. endef
  71. define KernelPackage/hwmon-pc87360/description
  72. Kernel modules for PC87360 chips
  73. endef
  74. $(eval $(call KernelPackage,hwmon-pc87360))
  75. define KernelPackage/hwmon-w83627hf
  76. SUBMENU:=$(HWMON_MENU)
  77. TITLE:=Winbond W83627HF monitoring support
  78. DEPENDS:=kmod-hwmon-core @TARGET_x86||TARGET_rdc
  79. KCONFIG:= \
  80. CONFIG_SENSORS_W83627HF \
  81. CONFIG_HWMON_VID
  82. FILES:= \
  83. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
  84. $(LINUX_DIR)/drivers/hwmon/w83627hf.$(LINUX_KMOD_SUFFIX)
  85. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627h)
  86. endef
  87. define KernelPacakge/hwmon-w83627hf/description
  88. Kernel module for the Winbond W83627HF chips.
  89. endef
  90. $(eval $(call KernelPackage,hwmon-w83627hf))