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-lm77
30 SUBMENU
:=$(HWMON_MENU
)
31 TITLE
:=LM77 monitoring support
32 DEPENDS
:=kmod-hwmon-core
+kmod-i2c-core
33 KCONFIG
:=CONFIG_SENSORS_LM77
34 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.
$(LINUX_KMOD_SUFFIX
)
35 AUTOLOAD
:=$(call AutoLoad
,60,lm77
)
38 define KernelPackage
/hwmon-lm77
/description
39 Kernel module for LM77 thermal monitor chip
42 $(eval
$(call KernelPackage
,hwmon-lm77
))
44 define KernelPackage
/hwmon-lm90
45 SUBMENU
:=$(HWMON_MENU
)
46 TITLE
:=LM90 monitoring support
47 DEPENDS
:=kmod-hwmon-core
+kmod-i2c-core
48 KCONFIG
:=CONFIG_SENSORS_LM90
49 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm90.
$(LINUX_KMOD_SUFFIX
)
50 AUTOLOAD
:=$(call AutoLoad
,60,lm90
)
53 define KernelPackage
/hwmon-lm90
/description
54 Kernel module for LM90 thermal monitor chip
57 $(eval
$(call KernelPackage
,hwmon-lm90
))
59 define KernelPackage
/hwmon-pc87360
60 SUBMENU
:=$(HWMON_MENU
)
61 TITLE
:=PC87360 monitoring support
62 DEPENDS
:=kmod-hwmon-core @TARGET_x86
64 CONFIG_SENSORS_PC87360 \
67 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
) \
68 $(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
69 AUTOLOAD
:=$(call AutoLoad
,50,hwmon-vid pc87360
)
72 define KernelPackage
/hwmon-pc87360
/description
73 Kernel modules for PC87360 chips
76 $(eval
$(call KernelPackage
,hwmon-pc87360
))