summaryrefslogtreecommitdiff
path: root/package/kernel/modules/hwmon.mk
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-03-25 15:18:16 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-03-25 15:18:16 +0000
commitaf4faf33733190063feee188a001abde0d55132b (patch)
tree1cc117083035837338df2cb88613d281287cc778 /package/kernel/modules/hwmon.mk
parent7161fc6e5359065c4d2a8bc7dc291cb1d9905eba (diff)
downloadmtk-20170518-af4faf33733190063feee188a001abde0d55132b.zip
mtk-20170518-af4faf33733190063feee188a001abde0d55132b.tar.gz
mtk-20170518-af4faf33733190063feee188a001abde0d55132b.tar.bz2
This patch fixes missing hwmon-vid module error on LM77 package build. hwmon-vid is not a dependency for LM77 so it does not get build. Signed-off-by: Vasilis Tsiligiannis <acinonyxs@yahoo.gr>
SVN-Revision: 10657
Diffstat (limited to 'package/kernel/modules/hwmon.mk')
-rw-r--r--package/kernel/modules/hwmon.mk16
1 files changed, 9 insertions, 7 deletions
diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk
index 3dd3f4c..a898f6e 100644
--- a/package/kernel/modules/hwmon.mk
+++ b/package/kernel/modules/hwmon.mk
@@ -14,12 +14,10 @@ define KernelPackage/hwmon-core
DEPENDS:=@LINUX_2_6
KCONFIG:= \
CONFIG_HWMON \
- CONFIG_HWMON_VID \
CONFIG_HWMON_DEBUG_CHIP=n
FILES:= \
- $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,40,hwmon hwmon-vid)
+ $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,40,hwmon)
endef
define KernelPackage/hwmon-core/description
@@ -49,9 +47,13 @@ define KernelPackage/hwmon-pc87360
SUBMENU:=$(HWMON_MENU)
TITLE:=PC87360 monitoring support
DEPENDS:=kmod-hwmon-core
- KCONFIG:=CONFIG_SENSORS_PC87360
- FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,50,pc87360)
+ KCONFIG:= \
+ CONFIG_SENSORS_PC87360 \
+ CONFIG_HWMON_VID
+ FILES:= \
+ $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
endef
define KernelPackage/hwmon-pc87360/description