summaryrefslogtreecommitdiff
path: root/package
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
commit72cb0af66d5ba2a3bc8971d5e1bb9c607c4f89f1 (patch)
tree4ab23295a678ad6f3f51f855c0898b0b8f8e545a /package
parent8eb616de8248f4e85b392ae0dd9b037dfc011202 (diff)
downloadmtk-20170518-72cb0af66d5ba2a3bc8971d5e1bb9c607c4f89f1.zip
mtk-20170518-72cb0af66d5ba2a3bc8971d5e1bb9c607c4f89f1.tar.gz
mtk-20170518-72cb0af66d5ba2a3bc8971d5e1bb9c607c4f89f1.tar.bz2
package/kernel: package heartbeat LED trigger
Patch-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 26120
Diffstat (limited to 'package')
-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 aba1c6b..8c03efc 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