aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-03-13 15:08:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-03-13 15:08:33 +0000
commitc45110c5c83616045b475921a55be1d6f2d3860e (patch)
treeeb6c8bd723175a2d533ddadadd54e39d4f107a93
parent84f2d0b280d12a5c7c7ecea3b36afd314c3b8882 (diff)
downloadupstream-c45110c5c83616045b475921a55be1d6f2d3860e.tar.gz
upstream-c45110c5c83616045b475921a55be1d6f2d3860e.tar.bz2
upstream-c45110c5c83616045b475921a55be1d6f2d3860e.zip
package/kernel: package heartbeat LED trigger
Patch-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26120 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index aba1c6b7d1..8c03efcaf3 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -538,6 +538,21 @@ endef
$(eval $(call KernelPackage,leds-wrap))
+define KernelPackage/ledtrig-heartbeat
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=LED Heartbeat Trigger
+ KCONFIG:=CONFIG_LEDS_TRIGGER_HEARTBEAT
+ FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-heartbeat.ko
+ AUTOLOAD:=$(call AutoLoad,50,ledtrig-heartbeat)
+endef
+
+define KernelPackage/ledtrig-gpio/description
+ Kernel module that allows LEDs to blink like heart beat
+endef
+
+$(eval $(call KernelPackage,ledtrig-heartbeat))
+
+
define KernelPackage/ledtrig-gpio
SUBMENU:=$(OTHER_MENU)
TITLE:=LED GPIO Trigger