Root/package/kernel/modules/hwmon.mk

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
8HWMON_MENU:=Hardware Monitoring Support
9
10define KernelPackage/hwmon-core
11  SUBMENU:=$(HWMON_MENU)
12  TITLE:=Hardware monitoring support
13  DEPENDS:=@LINUX_2_6
14  KCONFIG:= \
15    CONFIG_HWMON \
16    CONFIG_HWMON_DEBUG_CHIP=n
17  FILES:= \
18    $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX)
19  AUTOLOAD:=$(call AutoLoad,40,hwmon)
20endef
21
22define KernelPackage/hwmon-core/description
23 Kernel modules for hardware monitoring
24endef
25
26$(eval $(call KernelPackage,hwmon-core))
27
28
29define KernelPackage/hwmon/Depends
30  SUBMENU:=$(HWMON_MENU)
31  DEPENDS:=kmod-hwmon-core $(1)
32endef
33
34
35define KernelPackage/hwmon-lm75
36$(call KernelPackage/hwmon/Depends,+kmod-i2c-core)
37  TITLE:=LM75 monitoring support
38  KCONFIG:=CONFIG_SENSORS_LM75
39  FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.$(LINUX_KMOD_SUFFIX)
40  AUTOLOAD:=$(call AutoLoad,60,lm75)
41endef
42
43define KernelPackage/hwmon-lm75/description
44 Kernel module for lm75 thermal monitor chip
45endef
46
47$(eval $(call KernelPackage,hwmon-lm75))
48
49
50define KernelPackage/hwmon-lm77
51$(call KernelPackage/hwmon/Depends,+kmod-i2c-core)
52  TITLE:=LM77 monitoring support
53  KCONFIG:=CONFIG_SENSORS_LM77
54  FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
55  AUTOLOAD:=$(call AutoLoad,60,lm77)
56endef
57
58define KernelPackage/hwmon-lm77/description
59 Kernel module for LM77 thermal monitor chip
60endef
61
62$(eval $(call KernelPackage,hwmon-lm77))
63
64define KernelPackage/hwmon-lm90
65$(call KernelPackage/hwmon/Depends,+kmod-i2c-core)
66  TITLE:=LM90 monitoring support
67  KCONFIG:=CONFIG_SENSORS_LM90
68  FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX)
69  AUTOLOAD:=$(call AutoLoad,60,lm90)
70endef
71
72define KernelPackage/hwmon-lm90/description
73 Kernel module for LM90 thermal monitor chip
74endef
75
76$(eval $(call KernelPackage,hwmon-lm90))
77
78define KernelPackage/hwmon-pc87360
79$(call KernelPackage/hwmon/Depends,@TARGET_x86)
80  TITLE:=PC87360 monitoring support
81  KCONFIG:= \
82    CONFIG_SENSORS_PC87360 \
83    CONFIG_HWMON_VID
84  FILES:= \
85    $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
86    $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
87  AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
88endef
89
90define KernelPackage/hwmon-pc87360/description
91 Kernel modules for PC87360 chips
92endef
93
94$(eval $(call KernelPackage,hwmon-pc87360))
95
96define KernelPackage/hwmon-w83627hf
97$(call KernelPackage/hwmon/Depends,@TARGET_rdc||TARGET_x86)
98  TITLE:=Winbond W83627HF monitoring support
99  KCONFIG:= \
100    CONFIG_SENSORS_W83627HF \
101    CONFIG_HWMON_VID
102  FILES:= \
103    $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
104    $(LINUX_DIR)/drivers/hwmon/w83627hf.$(LINUX_KMOD_SUFFIX)
105  AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627hf)
106endef
107
108define KernelPacakge/hwmon-w83627hf/description
109  Kernel module for the Winbond W83627HF chips.
110endef
111
112$(eval $(call KernelPackage,hwmon-w83627hf))
113

Archive Download this file



interactive