hwmon.mk 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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_VID \
  16. CONFIG_HWMON_DEBUG_CHIP=n
  17. FILES:= \
  18. $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX) \
  19. $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX)
  20. AUTOLOAD:=$(call AutoLoad,40,hwmon hwmon-vid)
  21. endef
  22. define KernelPackage/hwmon-core/description
  23. Kernel modules for hardware monitoring
  24. endef
  25. $(eval $(call KernelPackage,hwmon-core))
  26. define KernelPackage/hwmon-lm77
  27. SUBMENU:=$(HWMON_MENU)
  28. TITLE:=LM77 monitoring support
  29. DEPENDS:=kmod-hwmon-core
  30. KCONFIG:=CONFIG_SENSORS_LM77
  31. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
  32. AUTOLOAD:=$(call AutoLoad,60,lm77)
  33. endef
  34. define KernelPackage/hwmon-lm77/description
  35. Kernel module for LM77 thermal monitor chip
  36. endef
  37. $(eval $(call KernelPackage,hwmon-lm77))
  38. define KernelPackage/hwmon-pc87360
  39. SUBMENU:=$(HWMON_MENU)
  40. TITLE:=PC87360 monitoring support
  41. DEPENDS:=kmod-hwmon-core
  42. KCONFIG:=CONFIG_SENSORS_PC87360
  43. FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
  44. AUTOLOAD:=$(call AutoLoad,50,pc87360)
  45. endef
  46. define KernelPackage/hwmon-pc87360/description
  47. Kernel modules for PC87360 chips
  48. endef
  49. $(eval $(call KernelPackage,hwmon-pc87360))