hwmon.mk 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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-lm77
  24. SUBMENU:=$(HWMON_MENU)
  25. TITLE:=LM77 monitoring support
  26. DEPENDS:=kmod-hwmon-core +kmod-i2c-core
  27. KCONFIG:=CONFIG_SENSORS_LM77
  28. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
  29. AUTOLOAD:=$(call AutoLoad,60,lm77)
  30. endef
  31. define KernelPackage/hwmon-lm77/description
  32. Kernel module for LM77 thermal monitor chip
  33. endef
  34. $(eval $(call KernelPackage,hwmon-lm77))
  35. define KernelPackage/hwmon-lm90
  36. SUBMENU:=$(HWMON_MENU)
  37. TITLE:=LM90 monitoring support
  38. DEPENDS:=kmod-hwmon-core +kmod-i2c-core
  39. KCONFIG:=CONFIG_SENSORS_LM90
  40. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX)
  41. AUTOLOAD:=$(call AutoLoad,60,lm90)
  42. endef
  43. define KernelPackage/hwmon-lm90/description
  44. Kernel module for LM90 thermal monitor chip
  45. endef
  46. $(eval $(call KernelPackage,hwmon-lm90))
  47. define KernelPackage/hwmon-pc87360
  48. SUBMENU:=$(HWMON_MENU)
  49. TITLE:=PC87360 monitoring support
  50. DEPENDS:=kmod-hwmon-core @TARGET_x86
  51. KCONFIG:= \
  52. CONFIG_SENSORS_PC87360 \
  53. CONFIG_HWMON_VID
  54. FILES:= \
  55. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
  56. $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
  57. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
  58. endef
  59. define KernelPackage/hwmon-pc87360/description
  60. Kernel modules for PC87360 chips
  61. endef
  62. $(eval $(call KernelPackage,hwmon-pc87360))