package/kernel: package heartbeat LED trigger
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Mar 2011 15:08:33 +0000 (15:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Mar 2011 15:08:33 +0000 (15:08 +0000)
Patch-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 26120

package/kernel/modules/other.mk

index aba1c6b7d19f0947d4377d131f9918d31381e7da..8c03efcaf3e5cabc29899439924b889c4007e5bc 100644 (file)
@@ -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