2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 HWMON_MENU
:=Hardware Monitoring Support
10 define KernelPackage
/hwmon-core
11 SUBMENU
:=$(HWMON_MENU
)
12 TITLE
:=Hardware monitoring support
15 CONFIG_HWMON_DEBUG_CHIP
=n
17 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.ko
18 AUTOLOAD
:=$(call AutoLoad
,40,hwmon
)
21 define KernelPackage
/hwmon-core
/description
22 Kernel modules for hardware monitoring
25 $(eval
$(call KernelPackage
,hwmon-core
))
28 define AddDepends
/hwmon
29 SUBMENU
:=$(HWMON_MENU
)
30 DEPENDS
:=kmod-hwmon-core
$(1)
33 define KernelPackage
/hwmon-vid
34 TITLE
:=VID
/VRM
/VRD voltage conversion module.
35 KCONFIG
:=CONFIG_HWMON_VID
36 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.ko
37 AUTOLOAD
:=$(call AutoLoad
,41,hwmon-vid
)
38 $(call AddDepends
/hwmon
,)
41 define KernelPackage
/hwmon-vid
/description
42 VID
/VRM
/VRD voltage conversion module for hardware monitoring.
45 $(eval
$(call KernelPackage
,hwmon-vid
))
48 define KernelPackage
/hwmon-lm63
49 TITLE
:=LM63
/64 monitoring support
50 KCONFIG
:=CONFIG_SENSORS_LM63
51 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm63.ko
52 AUTOLOAD
:=$(call AutoLoad
,60,lm63
)
53 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
56 define KernelPackage
/hwmon-lm63
/description
57 Kernel module for lm63 and lm64 thermal monitor chip
60 $(eval
$(call KernelPackage
,hwmon-lm63
))
63 define KernelPackage
/hwmon-lm75
64 TITLE
:=LM75 monitoring support
65 KCONFIG
:=CONFIG_SENSORS_LM75
66 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm75.ko
67 AUTOLOAD
:=$(call AutoLoad
,60,lm75
)
68 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
71 define KernelPackage
/hwmon-lm75
/description
72 Kernel module for lm75 thermal monitor chip
75 $(eval
$(call KernelPackage
,hwmon-lm75
))
78 define KernelPackage
/hwmon-lm77
79 TITLE
:=LM77 monitoring support
80 KCONFIG
:=CONFIG_SENSORS_LM77
81 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.ko
82 AUTOLOAD
:=$(call AutoLoad
,60,lm77
)
83 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
86 define KernelPackage
/hwmon-lm77
/description
87 Kernel module for LM77 thermal monitor chip
90 $(eval
$(call KernelPackage
,hwmon-lm77
))
93 define KernelPackage
/hwmon-lm85
94 TITLE
:=LM85 monitoring support
95 KCONFIG
:=CONFIG_SENSORS_LM85
96 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm85.ko
97 AUTOLOAD
:=$(call AutoLoad
,60,lm85
)
98 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
101 define KernelPackage
/hwmon-lm85
/description
102 Kernel module for LM85 thermal monitor chip
105 $(eval
$(call KernelPackage
,hwmon-lm85
))
108 define KernelPackage
/hwmon-lm90
109 TITLE
:=LM90 monitoring support
110 KCONFIG
:=CONFIG_SENSORS_LM90
111 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm90.ko
112 AUTOLOAD
:=$(call AutoLoad
,60,lm90
)
113 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
116 define KernelPackage
/hwmon-lm90
/description
117 Kernel module for LM90 thermal monitor chip
120 $(eval
$(call KernelPackage
,hwmon-lm90
))
122 define KernelPackage
/hwmon-lm95241
123 TITLE
:=LM95241 monitoring support
124 KCONFIG
:=CONFIG_SENSORS_LM95241
125 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm95241.ko
126 AUTOLOAD
:=$(call AutoLoad
,60,lm95241
)
127 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
130 define KernelPackage
/hwmon-lm95241
/description
131 Kernel module for LM95241 thermal monitor chip
134 $(eval
$(call KernelPackage
,hwmon-lm95241
))
136 define KernelPackage
/hwmon-sht21
137 TITLE
:=Sensiron SHT21 and compat. monitoring support
138 KCONFIG
:=CONFIG_SENSORS_SHT21
139 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/sht21.ko
140 AUTOLOAD
:=$(call AutoLoad
,60,sht21
)
141 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
144 define KernelPackage
/hwmon-sht21
/description
145 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
148 $(eval
$(call KernelPackage
,hwmon-sht21
))
150 define KernelPackage
/hwmon-pc87360
151 TITLE
:=PC87360 monitoring support
152 KCONFIG
:=CONFIG_SENSORS_PC87360
153 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.ko
154 AUTOLOAD
:=$(call AutoLoad
,50,pc87360
)
155 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
158 define KernelPackage
/hwmon-pc87360
/description
159 Kernel modules for PC87360 chips
162 $(eval
$(call KernelPackage
,hwmon-pc87360
))
165 define KernelPackage
/hwmon-w83627hf
166 TITLE
:=Winbond W83627HF monitoring support
167 KCONFIG
:=CONFIG_SENSORS_W83627HF
168 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83627hf.ko
169 AUTOLOAD
:=$(call AutoLoad
,50,w83627hf
)
170 $(call AddDepends
/hwmon
,@TARGET_rdc||TARGET_x86
+kmod-hwmon-vid
)
173 define KernelPacakge
/hwmon-w83627hf
/description
174 Kernel module for the Winbond W83627HF chips.
177 $(eval
$(call KernelPackage
,hwmon-w83627hf
))