aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/leds.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/linux/modules/leds.mk')
-rw-r--r--package/kernel/linux/modules/leds.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index 0ef0aee3fb..8d104f5651 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -99,6 +99,22 @@ endef
$(eval $(call KernelPackage,ledtrig-oneshot))
+define KernelPackage/ledtrig-pattern
+ SUBMENU:=$(LEDS_MENU)
+ TITLE:=LED Pattern Trigger
+ KCONFIG:=CONFIG_LEDS_TRIGGER_PATTERN
+ FILES:=$(LED_TRIGGER_DIR)/ledtrig-pattern.ko
+ AUTOLOAD:=$(call AutoLoad,50,ledtrig-pattern)
+endef
+
+define KernelPackage/ledtrig-pattern/description
+ This allows LEDs to be controlled by a software or hardware pattern
+ which is a series of tuples, of brightness and duration (ms).
+endef
+
+$(eval $(call KernelPackage,ledtrig-pattern))
+
+
define KernelPackage/leds-apu
SUBMENU:=$(LEDS_MENU)
TITLE:=PC Engines APU1 LED support