source: trunk/package/kernel/modules/hwmon.mk @ 23216

Last change on this file since 23216 was 23216, checked in by lars, 6 years ago

[packages] kernel: Add hwmon-lm63 package

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@…>

  • Property svn:copyright set to Copyright (C) 2007 OpenWrt.org
File size: 3.0 KB
Line 
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
8HWMON_MENU:=Hardware Monitoring Support
9
10define 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)
19endef
20
21define KernelPackage/hwmon-core/description
22 Kernel modules for hardware monitoring
23endef
24
25$(eval $(call KernelPackage,hwmon-core))
26
27
28define AddDepends/hwmon
29  SUBMENU:=$(HWMON_MENU)
30  DEPENDS:=kmod-hwmon-core $(1)
31endef
32
33define KernelPackage/hwmon-lm63
34  TITLE:=LM63/64 monitoring support
35  KCONFIG:=CONFIG_SENSORS_LM63
36  FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
37  AUTOLOAD:=$(call AutoLoad,60,lm63)
38  $(call AddDepends/hwmon,+kmod-i2c-core)
39endef
40
41define KernelPackage/hwmon-lm63/description
42 Kernel module for lm63 and lm64 thermal monitor chip
43endef
44
45$(eval $(call KernelPackage,hwmon-lm63))
46
47
48define KernelPackage/hwmon-lm75
49  TITLE:=LM75 monitoring support
50  KCONFIG:=CONFIG_SENSORS_LM75
51  FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
52  AUTOLOAD:=$(call AutoLoad,60,lm75)
53  $(call AddDepends/hwmon,+kmod-i2c-core)
54endef
55
56define KernelPackage/hwmon-lm75/description
57 Kernel module for lm75 thermal monitor chip
58endef
59
60$(eval $(call KernelPackage,hwmon-lm75))
61
62
63define KernelPackage/hwmon-lm77
64  TITLE:=LM77 monitoring support
65  KCONFIG:=CONFIG_SENSORS_LM77
66  FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
67  AUTOLOAD:=$(call AutoLoad,60,lm77)
68  $(call AddDepends/hwmon,+kmod-i2c-core)
69endef
70
71define KernelPackage/hwmon-lm77/description
72 Kernel module for LM77 thermal monitor chip
73endef
74
75$(eval $(call KernelPackage,hwmon-lm77))
76
77
78define KernelPackage/hwmon-lm90
79  TITLE:=LM90 monitoring support
80  KCONFIG:=CONFIG_SENSORS_LM90
81  FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
82  AUTOLOAD:=$(call AutoLoad,60,lm90)
83  $(call AddDepends/hwmon,+kmod-i2c-core)
84endef
85
86define KernelPackage/hwmon-lm90/description
87 Kernel module for LM90 thermal monitor chip
88endef
89
90$(eval $(call KernelPackage,hwmon-lm90))
91
92
93define KernelPackage/hwmon-pc87360
94  TITLE:=PC87360 monitoring support
95  KCONFIG:= \
96        CONFIG_SENSORS_PC87360 \
97        CONFIG_HWMON_VID
98  FILES:= \
99        $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
100        $(LINUX_DIR)/drivers/hwmon/pc87360.ko
101  AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
102  $(call AddDepends/hwmon,@TARGET_x86)
103endef
104
105define KernelPackage/hwmon-pc87360/description
106 Kernel modules for PC87360 chips
107endef
108
109$(eval $(call KernelPackage,hwmon-pc87360))
110
111
112define KernelPackage/hwmon-w83627hf
113  TITLE:=Winbond W83627HF monitoring support
114  KCONFIG:= \
115        CONFIG_SENSORS_W83627HF \
116        CONFIG_HWMON_VID
117  FILES:= \
118        $(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko \
119        $(LINUX_DIR)/drivers/hwmon/w83627hf.ko
120  AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627hf)
121$(call AddDepends/hwmon,@TARGET_rdc||TARGET_x86)
122endef
123
124define KernelPacakge/hwmon-w83627hf/description
125  Kernel module for the Winbond W83627HF chips.
126endef
127
128$(eval $(call KernelPackage,hwmon-w83627hf))
Note: See TracBrowser for help on using the repository browser.