get rid of $Id$ - it has never helped us and it has broken too many patches ;)
[openwrt/svn-archive/archive.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-lm77
30 SUBMENU:=$(HWMON_MENU)
31 TITLE:=LM77 monitoring support
32 DEPENDS:=kmod-hwmon-core +kmod-i2c-core
33 KCONFIG:=CONFIG_SENSORS_LM77
34 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
35 AUTOLOAD:=$(call AutoLoad,60,lm77)
36 endef
37
38 define KernelPackage/hwmon-lm77/description
39 Kernel module for LM77 thermal monitor chip
40 endef
41
42 $(eval $(call KernelPackage,hwmon-lm77))
43
44 define KernelPackage/hwmon-lm90
45 SUBMENU:=$(HWMON_MENU)
46 TITLE:=LM90 monitoring support
47 DEPENDS:=kmod-hwmon-core +kmod-i2c-core
48 KCONFIG:=CONFIG_SENSORS_LM90
49 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX)
50 AUTOLOAD:=$(call AutoLoad,60,lm90)
51 endef
52
53 define KernelPackage/hwmon-lm90/description
54 Kernel module for LM90 thermal monitor chip
55 endef
56
57 $(eval $(call KernelPackage,hwmon-lm90))
58
59 define KernelPackage/hwmon-pc87360
60 SUBMENU:=$(HWMON_MENU)
61 TITLE:=PC87360 monitoring support
62 DEPENDS:=kmod-hwmon-core @TARGET_x86
63 KCONFIG:= \
64 CONFIG_SENSORS_PC87360 \
65 CONFIG_HWMON_VID
66 FILES:= \
67 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
68 $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
69 AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
70 endef
71
72 define KernelPackage/hwmon-pc87360/description
73 Kernel modules for PC87360 chips
74 endef
75
76 $(eval $(call KernelPackage,hwmon-pc87360))
77