From 341f2c4ead240285a3dc26ebfc32eed46518c29c Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 13 Mar 2011 15:08:33 +0000 Subject: [PATCH] package/kernel: package heartbeat LED trigger Patch-by: Nikolay Martynov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26120 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.20.1