summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-10-09 19:37:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-10-09 19:37:30 +0000
commit6a7a3bfa6ae0032e5f4fdb453e3010c66da764ad (patch)
tree7e6e30cee9a7f0c0937a8ee93a8d5852ffe2d6ac /package/kernel
parentc0fb2f61f4e1e6cb97a171e624b479e5fb451934 (diff)
downloadmtk-20170518-6a7a3bfa6ae0032e5f4fdb453e3010c66da764ad.zip
mtk-20170518-6a7a3bfa6ae0032e5f4fdb453e3010c66da764ad.tar.gz
mtk-20170518-6a7a3bfa6ae0032e5f4fdb453e3010c66da764ad.tar.bz2
build leds-adm5120 as a module
SVN-Revision: 9219
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 7bb75ef..adcce08 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -252,6 +252,22 @@ endef
$(eval $(call KernelPackage,softdog))
+define KernelPackage/leds-adm5120
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=ADM5120 LED support
+ DEPENDS:=@TARGET_adm5120
+ KCONFIG:=CONFIG_LEDS_ADM5120
+ FILES:=$(LINUX_DIR)/drivers/leds/leds-adm5120.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,60,leds-adm5120)
+endef
+
+define KernelPackage/leds-adm5120/description
+ Kernel module for LEDs on ADM5120 based boards
+endef
+
+$(eval $(call KernelPackage,leds-adm5120))
+
+
define KernelPackage/leds-net48xx
SUBMENU:=$(OTHER_MENU)
TITLE:=Soekris Net48xx LED support