hwmon.mk 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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-pc87360
  37. SUBMENU:=$(HWMON_MENU)
  38. TITLE:=PC87360 monitoring support
  39. DEPENDS:=kmod-hwmon-core @TARGET_x86
  40. KCONFIG:= \
  41. CONFIG_SENSORS_PC87360 \
  42. CONFIG_HWMON_VID
  43. FILES:= \
  44. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
  45. $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
  46. AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
  47. endef
  48. define KernelPackage/hwmon-pc87360/description
  49. Kernel modules for PC87360 chips
  50. endef
  51. $(eval $(call KernelPackage,hwmon-pc87360))