1e97c3733a075dbf66f548cef65c334b3ffb36bc
[openwrt.git] / package / kernel / modules / hwmon.mk
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 HWMON_MENU:=Hardware Monitoring Support
9
10 define KernelPackage/hwmon-core
11 SUBMENU:=$(HWMON_MENU)
12 TITLE:=Hardware monitoring support
13 DEPENDS:=@LINUX_2_6
14 KCONFIG:= \
15 CONFIG_HWMON \
16 CONFIG_HWMON_DEBUG_CHIP=n
17 FILES:= \
18 $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX)
19 AUTOLOAD:=$(call AutoLoad,40,hwmon)
20 endef
21
22 define KernelPackage/hwmon-core/description
23 Kernel modules for hardware monitoring
24 endef
25
26 $(eval $(call KernelPackage,hwmon-core))
27
28
29 define AddDepends/hwmon
30 SUBMENU:=$(HWMON_MENU)
31 DEPENDS:=kmod-hwmon-core $(1)
32 endef
33
34
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)
41 endef
42
43 define KernelPackage/hwmon-lm75/description
44 Kernel module for lm75 thermal monitor chip
45 endef
46
47 $(eval $(call KernelPackage,hwmon-lm75))
48
49
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)
56 endef
57
58 define KernelPackage/hwmon-lm77/description
59 Kernel module for LM77 thermal monitor chip
60 endef
61
62 $(eval $(call KernelPackage,hwmon-lm77))
63
64
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)
71 endef
72
73 define KernelPackage/hwmon-lm90/description
74 Kernel module for LM90 thermal monitor chip
75 endef
76
77 $(eval $(call KernelPackage,hwmon-lm90))
78
79
80 define KernelPackage/hwmon-pc87360
81 TITLE:=PC87360 monitoring support
82 KCONFIG:= \
83 CONFIG_SENSORS_PC87360 \
84 CONFIG_HWMON_VID
85 FILES:= \
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)
90 endef
91
92 define KernelPackage/hwmon-pc87360/description
93 Kernel modules for PC87360 chips
94 endef
95
96 $(eval $(call KernelPackage,hwmon-pc87360))
97
98
99 define KernelPackage/hwmon-w83627hf
100 TITLE:=Winbond W83627HF monitoring support
101 KCONFIG:= \
102 CONFIG_SENSORS_W83627HF \
103 CONFIG_HWMON_VID
104 FILES:= \
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)
109 endef
110
111 define KernelPacakge/hwmon-w83627hf/description
112 Kernel module for the Winbond W83627HF chips.
113 endef
114
115 $(eval $(call KernelPackage,hwmon-w83627hf))
This page took 0.049943 seconds and 3 git commands to generate.