hwmon.mk 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. # $Id$
  8. HWMON_MENU:=Hardware Monitoring Support
  9. define KernelPackage/hwmon-core
  10. SUBMENU:=$(HWMON_MENU)
  11. TITLE:=Hardware monitoring support
  12. DEPENDS:=@LINUX_2_6
  13. KCONFIG:= \
  14. CONFIG_HWMON \
  15. CONFIG_HWMON_DEBUG_CHIP=n
  16. FILES:= \
  17. $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX)
  18. AUTOLOAD:=$(call AutoLoad,40,hwmon)
  19. endef
  20. define KernelPackage/hwmon-core/description
  21. Kernel modules for hardware monitoring
  22. endef
  23. $(eval $(call KernelPackage,hwmon-core))
  24. define KernelPackage/hwmon-lm77
  25. SUBMENU:=$(HWMON_MENU)
  26. TITLE:=LM77 monitoring support
  27. DEPENDS:=kmod-hwmon-core +kmod-i2c-core
  28. KCONFIG:=CONFIG_SENSORS_LM77
  29. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
  30. AUTOLOAD:=$(call AutoLoad,60,lm77)
  31. endef
  32. define KernelPackage/hwmon-lm77/description
  33. Kernel module for LM77 thermal monitor chip
  34. endef
  35. $(eval $(call KernelPackage,hwmon-lm77))
  36. define KernelPackage/hwmon-lm90
  37. SUBMENU:=$(HWMON_MENU)
  38. TITLE:=LM90 monitoring support
  39. DEPENDS:=kmod-hwmon-core +kmod-i2c-core
  40. KCONFIG:=CONFIG_SENSORS_LM90
  41. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX)
  42. AUTOLOAD:=$(call AutoLoad,60,lm90)
  43. endef
  44. define KernelPackage/hwmon-lm90/description
  45. Kernel module for LM90 thermal monitor chip
  46. endef
  47. $(eval $(call KernelPackage,hwmon-lm90))
  48. define KernelPackage/hwmon-pc87360
  49. SUBMENU:=$(HWMON_MENU)
  50. TITLE:=PC87360 monitoring support
  51. DEPENDS:=kmod-hwmon-core @TARGET_x86
  52. KCONFIG:= \
  53. CONFIG_SENSORS_PC87360 \
  54. CONFIG_HWMON_VID
  55. FILES:= \
  56. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
  57. $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
  58. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
  59. endef
  60. define KernelPackage/hwmon-pc87360/description
  61. Kernel modules for PC87360 chips
  62. endef
  63. $(eval $(call KernelPackage,hwmon-pc87360))