bump a bunch of packages updated after 10.03
[openwrt/svn-archive/archive.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 DEPENDS:=@TARGET_x86
83 KCONFIG:= \
84 CONFIG_SENSORS_PC87360 \
85 CONFIG_HWMON_VID
86 FILES:= \
87 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
88 $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
89 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
90 $(call AddDepends/hwmon)
91 endef
92
93 define KernelPackage/hwmon-pc87360/description
94 Kernel modules for PC87360 chips
95 endef
96
97 $(eval $(call KernelPackage,hwmon-pc87360))
98
99
100 define KernelPackage/hwmon-w83627hf
101 TITLE:=Winbond W83627HF monitoring support
102 DEPENDS:=@TARGET_rdc||TARGET_x86
103 KCONFIG:= \
104 CONFIG_SENSORS_W83627HF \
105 CONFIG_HWMON_VID
106 FILES:= \
107 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
108 $(LINUX_DIR)/drivers/hwmon/w83627hf.$(LINUX_KMOD_SUFFIX)
109 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627hf)
110 $(call AddDepends/hwmon)
111 endef
112
113 define KernelPacakge/hwmon-w83627hf/description
114 Kernel module for the Winbond W83627HF chips.
115 endef
116
117 $(eval $(call KernelPackage,hwmon-w83627hf))