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
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 AddDepends
/hwmon
30 SUBMENU
:=$(HWMON_MENU
)
31 DEPENDS
:=kmod-hwmon-core
$(1)
35 define KernelPackage
/hwmon-lm75
36 TITLE
:=LM75 monitoring support
37 KCONFIG
:=CONFIG_SENSORS_LM75
38 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm75.
$(LINUX_KMOD_SUFFIX
)
39 AUTOLOAD
:=$(call AutoLoad
,60,lm75
)
40 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
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 TITLE
:=LM77 monitoring support
52 KCONFIG
:=CONFIG_SENSORS_LM77
53 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.
$(LINUX_KMOD_SUFFIX
)
54 AUTOLOAD
:=$(call AutoLoad
,60,lm77
)
55 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
58 define KernelPackage
/hwmon-lm77
/description
59 Kernel module for LM77 thermal monitor chip
62 $(eval
$(call KernelPackage
,hwmon-lm77
))
65 define KernelPackage
/hwmon-lm90
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
)
70 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
73 define KernelPackage
/hwmon-lm90
/description
74 Kernel module for LM90 thermal monitor chip
77 $(eval
$(call KernelPackage
,hwmon-lm90
))
80 define KernelPackage
/hwmon-pc87360
81 TITLE
:=PC87360 monitoring support
83 CONFIG_SENSORS_PC87360 \
86 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
) \
87 $(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
88 AUTOLOAD
:=$(call AutoLoad
,50,hwmon-vid pc87360
)
89 $(call AddDepends
/hwmon
,@TARGET_x86
)
92 define KernelPackage
/hwmon-pc87360
/description
93 Kernel modules for PC87360 chips
96 $(eval
$(call KernelPackage
,hwmon-pc87360
))
99 define KernelPackage
/hwmon-w83627hf
100 TITLE
:=Winbond W83627HF monitoring support
102 CONFIG_SENSORS_W83627HF \
105 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
) \
106 $(LINUX_DIR
)/drivers
/hwmon
/w83627hf.
$(LINUX_KMOD_SUFFIX
)
107 AUTOLOAD
:=$(call AutoLoad
,50,hwmon-vid w83627hf
)
108 $(call AddDepends
/hwmon
,@TARGET_rdc||TARGET_x86
)
111 define KernelPacakge
/hwmon-w83627hf
/description
112 Kernel module for the Winbond W83627HF chips.
115 $(eval
$(call KernelPackage
,hwmon-w83627hf
))