mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 19:27:27 +00:00
kernel: add kmod-leds-uleds
The allows userspace LEDs to be created and controlled. This can be useful
for testing triggers and can also be used to implement virtual LEDs.
Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
[squash fixup commit and improve option wording]
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 6a37286c2a
)
This commit is contained in:
parent
96b5962704
commit
bc37a699e5
@ -114,3 +114,17 @@ define KernelPackage/leds-pwm/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,leds-pwm))
|
||||
|
||||
define KernelPackage/leds-uleds
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=Userspace LEDs
|
||||
KCONFIG:=CONFIG_LEDS_USER
|
||||
FILES:=$(LINUX_DIR)/drivers/leds/uleds.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,leds-uleds,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/leds-uleds/description
|
||||
This option enables support for userspace LEDs.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,leds-uleds))
|
||||
|
Loading…
Reference in New Issue
Block a user