2 # Copyright (C) 2006,2007 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
16 CONFIG_HWMON_DEBUG_CHIP
=n
18 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
)
19 AUTOLOAD
:=$(call AutoLoad
,40,hwmon
)
22 define KernelPackage
/hwmon-core
/description
23 Kernel modules for hardware monitoring
26 $(eval
$(call KernelPackage
,hwmon-core
))
29 define KernelPackage
/hwmon
/Depends
30 SUBMENU
:=$(HWMON_MENU
)
31 DEPENDS
:=kmod-hwmon-core
$(1)
35 define 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
)
43 define KernelPackage
/hwmon-lm75
/description
44 Kernel module for lm75 thermal monitor chip
47 $(eval
$(call KernelPackage
,hwmon-lm75
))
50 define 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
)
58 define KernelPackage
/hwmon-lm77
/description
59 Kernel module for LM77 thermal monitor chip
62 $(eval
$(call KernelPackage
,hwmon-lm77
))
64 define 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
)
72 define KernelPackage
/hwmon-lm90
/description
73 Kernel module for LM90 thermal monitor chip
76 $(eval
$(call KernelPackage
,hwmon-lm90
))
78 define KernelPackage
/hwmon-pc87360
79 $(call KernelPackage
/hwmon
/Depends
,@TARGET_x86
)
80 TITLE
:=PC87360 monitoring support
82 CONFIG_SENSORS_PC87360 \
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
)
90 define KernelPackage
/hwmon-pc87360
/description
91 Kernel modules for PC87360 chips
94 $(eval
$(call KernelPackage
,hwmon-pc87360
))
96 define KernelPackage
/hwmon-w83627hf
97 $(call KernelPackage
/hwmon
/Depends
,@TARGET_rdc||TARGET_x86
)
98 TITLE
:=Winbond W83627HF monitoring support
100 CONFIG_SENSORS_W83627HF \
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 w83627h
)
108 define KernelPacakge
/hwmon-w83627hf
/description
109 Kernel module for the Winbond W83627HF chips.
112 $(eval
$(call KernelPackage
,hwmon-w83627hf
))