summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 15:08:33 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 15:08:33 +0000
commit341f2c4ead240285a3dc26ebfc32eed46518c29c (patch)
treeeb6c8bd723175a2d533ddadadd54e39d4f107a93
parentae81dbbb222eadd39232ae6e1b3685b0a430fbf9 (diff)
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 aba1c6b7d..8c03efcaf 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