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.
9 HWMON_MENU
:=Hardware Monitoring Support
11 define KernelPackage
/hwmon-core
12 SUBMENU
:=$(HWMON_MENU
)
13 TITLE
:=Hardware monitoring support
17 CONFIG_HWMON_DEBUG_CHIP
=n
19 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
)
20 AUTOLOAD
:=$(call AutoLoad
,40,hwmon
)
23 define KernelPackage
/hwmon-core
/description
24 Kernel modules for hardware monitoring
27 $(eval
$(call KernelPackage
,hwmon-core
))
30 define KernelPackage
/hwmon-lm77
31 SUBMENU
:=$(HWMON_MENU
)
32 TITLE
:=LM77 monitoring support
33 DEPENDS
:=kmod-hwmon-core kmod-i2c-core
34 KCONFIG
:=CONFIG_SENSORS_LM77
35 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.
$(LINUX_KMOD_SUFFIX
)
36 AUTOLOAD
:=$(call AutoLoad
,60,lm77
)
39 define KernelPackage
/hwmon-lm77
/description
40 Kernel module for LM77 thermal monitor chip
43 $(eval
$(call KernelPackage
,hwmon-lm77
))
46 define KernelPackage
/hwmon-pc87360
47 SUBMENU
:=$(HWMON_MENU
)
48 TITLE
:=PC87360 monitoring support
49 DEPENDS
:=kmod-hwmon-core @TARGET_x86
51 CONFIG_SENSORS_PC87360 \
54 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
) \
55 $(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
56 AUTOLOAD
:=$(call AutoLoad
,50,hwmon-vid pc87360
)
59 define KernelPackage
/hwmon-pc87360
/description
60 Kernel modules for PC87360 chips
63 $(eval
$(call KernelPackage
,hwmon-pc87360
))