From 331cd0989a69c3403e2f133db78400472bdb8f3e Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 22 Jul 2009 11:13:03 +0000 Subject: [PATCH] [package] kernel/modules: package driver for the LM75 sensor git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16958 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/hwmon.mk | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk index b09655a0a..f259a7af9 100644 --- a/package/kernel/modules/hwmon.mk +++ b/package/kernel/modules/hwmon.mk @@ -26,6 +26,22 @@ endef $(eval $(call KernelPackage,hwmon-core)) +define KernelPackage/hwmon-lm75 + SUBMENU:=$(HWMON_MENU) + TITLE:=LM75 monitoring support + DEPENDS:=kmod-hwmon-core +kmod-i2c-core + KCONFIG:=CONFIG_SENSORS_LM75 + FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,60,lm75) +endef + +define KernelPackage/hwmon-lm75/description + Kernel module for lm75 thermal monitor chip +endef + +$(eval $(call KernelPackage,hwmon-lm75)) + + define KernelPackage/hwmon-lm77 SUBMENU:=$(HWMON_MENU) TITLE:=LM77 monitoring support @@ -34,9 +50,9 @@ define KernelPackage/hwmon-lm77 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,60,lm77) endef - + define KernelPackage/hwmon-lm77/description - Kernel module for LM77 thermal monitor chip + Kernel module for LM77 thermal monitor chip endef $(eval $(call KernelPackage,hwmon-lm77)) @@ -49,9 +65,9 @@ define KernelPackage/hwmon-lm90 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,60,lm90) endef - + define KernelPackage/hwmon-lm90/description - Kernel module for LM90 thermal monitor chip + Kernel module for LM90 thermal monitor chip endef $(eval $(call KernelPackage,hwmon-lm90)) -- 2.20.1