diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:37:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:37:58 +0000 |
commit | ab6086e3f915cdd1f2b10947d4e7b4617fd61e94 (patch) | |
tree | 45881b22c1bff11f0575ec8dd486aa56163b7d69 /package/kernel/modules/leds.mk | |
parent | ddc784694b5de64c71ea6aab75b079084da7ddc8 (diff) | |
download | mtk-20170518-ab6086e3f915cdd1f2b10947d4e7b4617fd61e94.zip mtk-20170518-ab6086e3f915cdd1f2b10947d4e7b4617fd61e94.tar.gz mtk-20170518-ab6086e3f915cdd1f2b10947d4e7b4617fd61e94.tar.bz2 |
package/kernel: create packages for the LED Timer/Default ON triggers
SVN-Revision: 31106
Diffstat (limited to 'package/kernel/modules/leds.mk')
-rw-r--r-- | package/kernel/modules/leds.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/kernel/modules/leds.mk b/package/kernel/modules/leds.mk index 3bb8649..6e94e04 100644 --- a/package/kernel/modules/leds.mk +++ b/package/kernel/modules/leds.mk @@ -183,3 +183,34 @@ define KernelPackage/ledtrig-usbdev/description endef $(eval $(call KernelPackage,ledtrig-usbdev)) + + +define KernelPackage/ledtrig-default-on + SUBMENU:=$(LEDS_MENU) + TITLE:=LED Default ON Trigger + KCONFIG:=CONFIG_LEDS_TRIGGER_DEFAULT_ON + FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-default-on.ko + AUTOLOAD:=$(call AutoLoad,50,ledtrig-default-on) +endef + +define KernelPackage/ledtrig-default-on/description + Kernel module that allows LEDs to be initialised in the ON state. +endef + +$(eval $(call KernelPackage,ledtrig-default-on)) + + +define KernelPackage/ledtrig-timer + SUBMENU:=$(LEDS_MENU) + TITLE:=LED Timer Trigger + KCONFIG:=CONFIG_LEDS_TRIGGER_TIMER + FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-timer.ko + AUTOLOAD:=$(call AutoLoad,50,ledtrig-timer) +endef + +define KernelPackage/ledtrig-timer/description + Kernel module that allows LEDs to be controlled by a programmable timer + via sysfs. +endef + +$(eval $(call KernelPackage,ledtrig-timer)) |