mark relevant kmod-* packages as being required for rootfs mounting (patch by cshore)
[openwrt.git] / package / kernel / modules / hwmon.mk
1 #
2 # Copyright (C) 2006,2007 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 KernelPackage/hwmon/Depends
30 SUBMENU:=$(HWMON_MENU)
31 DEPENDS:=kmod-hwmon-core $(1)
32 endef
33
34
35 define KernelPackage/hwmon-lm75
36 $(call KernelPackage/hwmon/Depends,+kmod-i2c-core)
37 TITLE:=LM75 monitoring support
38 KCONFIG:=CONFIG_SENSORS_LM75
39 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.$(LINUX_KMOD_SUFFIX)
40 AUTOLOAD:=$(call AutoLoad,60,lm75)
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 $(call KernelPackage/hwmon/Depends,+kmod-i2c-core)
52 TITLE:=LM77 monitoring support
53 KCONFIG:=CONFIG_SENSORS_LM77
54 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
55 AUTOLOAD:=$(call AutoLoad,60,lm77)
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 define KernelPackage/hwmon-lm90
65 $(call KernelPackage/hwmon/Depends,+kmod-i2c-core)
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 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 define KernelPackage/hwmon-pc87360
79 $(call KernelPackage/hwmon/Depends,@TARGET_x86)
80 TITLE:=PC87360 monitoring support
81 KCONFIG:= \
82 CONFIG_SENSORS_PC87360 \
83 CONFIG_HWMON_VID
84 FILES:= \
85 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
86 $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
87 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
88 endef
89
90 define KernelPackage/hwmon-pc87360/description
91 Kernel modules for PC87360 chips
92 endef
93
94 $(eval $(call KernelPackage,hwmon-pc87360))
95
96 define KernelPackage/hwmon-w83627hf
97 $(call KernelPackage/hwmon/Depends,@TARGET_rdc||TARGET_x86)
98 TITLE:=Winbond W83627HF monitoring support
99 KCONFIG:= \
100 CONFIG_SENSORS_W83627HF \
101 CONFIG_HWMON_VID
102 FILES:= \
103 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
104 $(LINUX_DIR)/drivers/hwmon/w83627hf.$(LINUX_KMOD_SUFFIX)
105 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627h)
106 endef
107
108 define KernelPacakge/hwmon-w83627hf/description
109 Kernel module for the Winbond W83627HF chips.
110 endef
111
112 $(eval $(call KernelPackage,hwmon-w83627hf))
This page took 0.052267 seconds and 5 git commands to generate.