[magicbox] fix the CF driver on 2.6.26.x, and create a package for it
[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 # $Id$
8
9 HWMON_MENU:=Hardware Monitoring Support
10
11 define KernelPackage/hwmon-core
12 SUBMENU:=$(HWMON_MENU)
13 TITLE:=Hardware monitoring support
14 DEPENDS:=@LINUX_2_6
15 KCONFIG:= \
16 CONFIG_HWMON \
17 CONFIG_HWMON_DEBUG_CHIP=n
18 FILES:= \
19 $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX)
20 AUTOLOAD:=$(call AutoLoad,40,hwmon)
21 endef
22
23 define KernelPackage/hwmon-core/description
24 Kernel modules for hardware monitoring
25 endef
26
27 $(eval $(call KernelPackage,hwmon-core))
28
29
30 define KernelPackage/hwmon-lm77
31 SUBMENU:=$(HWMON_MENU)
32 TITLE:=LM77 monitoring support
33 DEPENDS:=kmod-hwmon-core +kmod-i2c-core
34 KCONFIG:=CONFIG_SENSORS_LM77
35 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
36 AUTOLOAD:=$(call AutoLoad,60,lm77)
37 endef
38
39 define KernelPackage/hwmon-lm77/description
40 Kernel module for LM77 thermal monitor chip
41 endef
42
43 $(eval $(call KernelPackage,hwmon-lm77))
44
45 define KernelPackage/hwmon-lm90
46 SUBMENU:=$(HWMON_MENU)
47 TITLE:=LM90 monitoring support
48 DEPENDS:=kmod-hwmon-core +kmod-i2c-core
49 KCONFIG:=CONFIG_SENSORS_LM90
50 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX)
51 AUTOLOAD:=$(call AutoLoad,60,lm90)
52 endef
53
54 define KernelPackage/hwmon-lm90/description
55 Kernel module for LM90 thermal monitor chip
56 endef
57
58 $(eval $(call KernelPackage,hwmon-lm90))
59
60 define KernelPackage/hwmon-pc87360
61 SUBMENU:=$(HWMON_MENU)
62 TITLE:=PC87360 monitoring support
63 DEPENDS:=kmod-hwmon-core @TARGET_x86
64 KCONFIG:= \
65 CONFIG_SENSORS_PC87360 \
66 CONFIG_HWMON_VID
67 FILES:= \
68 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
69 $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
70 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
71 endef
72
73 define KernelPackage/hwmon-pc87360/description
74 Kernel modules for PC87360 chips
75 endef
76
77 $(eval $(call KernelPackage,hwmon-pc87360))
78
This page took 0.05276 seconds and 5 git commands to generate.