massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
[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 KCONFIG:= \
14 CONFIG_HWMON \
15 CONFIG_HWMON_DEBUG_CHIP=n
16 FILES:= \
17 $(LINUX_DIR)/drivers/hwmon/hwmon.ko
18 AUTOLOAD:=$(call AutoLoad,40,hwmon)
19 endef
20
21 define KernelPackage/hwmon-core/description
22 Kernel modules for hardware monitoring
23 endef
24
25 $(eval $(call KernelPackage,hwmon-core))
26
27
28 define AddDepends/hwmon
29 SUBMENU:=$(HWMON_MENU)
30 DEPENDS:=kmod-hwmon-core $(1)
31 endef
32
33
34 define KernelPackage/hwmon-lm75
35 TITLE:=LM75 monitoring support
36 KCONFIG:=CONFIG_SENSORS_LM75
37 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
38 AUTOLOAD:=$(call AutoLoad,60,lm75)
39 $(call AddDepends/hwmon,+kmod-i2c-core)
40 endef
41
42 define KernelPackage/hwmon-lm75/description
43 Kernel module for lm75 thermal monitor chip
44 endef
45
46 $(eval $(call KernelPackage,hwmon-lm75))
47
48
49 define KernelPackage/hwmon-lm77
50 TITLE:=LM77 monitoring support
51 KCONFIG:=CONFIG_SENSORS_LM77
52 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
53 AUTOLOAD:=$(call AutoLoad,60,lm77)
54 $(call AddDepends/hwmon,+kmod-i2c-core)
55 endef
56
57 define KernelPackage/hwmon-lm77/description
58 Kernel module for LM77 thermal monitor chip
59 endef
60
61 $(eval $(call KernelPackage,hwmon-lm77))
62
63
64 define KernelPackage/hwmon-lm90
65 TITLE:=LM90 monitoring support
66 KCONFIG:=CONFIG_SENSORS_LM90
67 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
68 AUTOLOAD:=$(call AutoLoad,60,lm90)
69 $(call AddDepends/hwmon,+kmod-i2c-core)
70 endef
71
72 define KernelPackage/hwmon-lm90/description
73 Kernel module for LM90 thermal monitor chip
74 endef
75
76 $(eval $(call KernelPackage,hwmon-lm90))
77
78
79 define KernelPackage/hwmon-pc87360
80 TITLE:=PC87360 monitoring support
81 KCONFIG:= \
82 CONFIG_SENSORS_PC87360 \
83 CONFIG_HWMON_VID
84 FILES:= \
85 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
86 $(LINUX_DIR)/drivers/hwmon/pc87360.ko
87 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
88 $(call AddDepends/hwmon,@TARGET_x86)
89 endef
90
91 define KernelPackage/hwmon-pc87360/description
92 Kernel modules for PC87360 chips
93 endef
94
95 $(eval $(call KernelPackage,hwmon-pc87360))
96
97
98 define KernelPackage/hwmon-w83627hf
99 TITLE:=Winbond W83627HF monitoring support
100 KCONFIG:= \
101 CONFIG_SENSORS_W83627HF \
102 CONFIG_HWMON_VID
103 FILES:= \
104 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
105 $(LINUX_DIR)/drivers/hwmon/w83627hf.ko
106 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627hf)
107 $(call AddDepends/hwmon,@TARGET_rdc||TARGET_x86)
108 endef
109
110 define KernelPacakge/hwmon-w83627hf/description
111 Kernel module for the Winbond W83627HF chips.
112 endef
113
114 $(eval $(call KernelPackage,hwmon-w83627hf))