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)
34 define KernelPackage
/hwmon-lm75
35 TITLE
:=LM75 monitoring support
36 KCONFIG
:=CONFIG_SENSORS_LM75
37 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm75.ko
38 AUTOLOAD
:=$(call AutoLoad
,60,lm75
)
39 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
42 define KernelPackage
/hwmon-lm75
/description
43 Kernel module for lm75 thermal monitor chip
46 $(eval
$(call KernelPackage
,hwmon-lm75
))
49 define KernelPackage
/hwmon-lm77
50 TITLE
:=LM77 monitoring support
51 KCONFIG
:=CONFIG_SENSORS_LM77
52 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.ko
53 AUTOLOAD
:=$(call AutoLoad
,60,lm77
)
54 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
57 define KernelPackage
/hwmon-lm77
/description
58 Kernel module for LM77 thermal monitor chip
61 $(eval
$(call KernelPackage
,hwmon-lm77
))
64 define KernelPackage
/hwmon-lm90
65 TITLE
:=LM90 monitoring support
66 KCONFIG
:=CONFIG_SENSORS_LM90
67 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm90.ko
68 AUTOLOAD
:=$(call AutoLoad
,60,lm90
)
69 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
72 define KernelPackage
/hwmon-lm90
/description
73 Kernel module for LM90 thermal monitor chip
76 $(eval
$(call KernelPackage
,hwmon-lm90
))
79 define KernelPackage
/hwmon-pc87360
80 TITLE
:=PC87360 monitoring support
82 CONFIG_SENSORS_PC87360 \
85 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.ko \
86 $(LINUX_DIR
)/drivers
/hwmon
/pc87360.ko
87 AUTOLOAD
:=$(call AutoLoad
,50,hwmon-vid pc87360
)
88 $(call AddDepends
/hwmon
,@TARGET_x86
)
91 define KernelPackage
/hwmon-pc87360
/description
92 Kernel modules for PC87360 chips
95 $(eval
$(call KernelPackage
,hwmon-pc87360
))
98 define KernelPackage
/hwmon-w83627hf
99 TITLE
:=Winbond W83627HF monitoring support
101 CONFIG_SENSORS_W83627HF \
104 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.ko \
105 $(LINUX_DIR
)/drivers
/hwmon
/w83627hf.ko
106 AUTOLOAD
:=$(call AutoLoad
,50,hwmon-vid w83627hf
)
107 $(call AddDepends
/hwmon
,@TARGET_rdc||TARGET_x86
)
110 define KernelPacakge
/hwmon-w83627hf
/description
111 Kernel module for the Winbond W83627HF chips.
114 $(eval
$(call KernelPackage
,hwmon-w83627hf
))