summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-09 19:37:30 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-09 19:37:30 +0000
commit2e3f93a716df8aa714f206b220314ec171d8e851 (patch)
tree932c8bd66a67a76d1881c11c3dcfbd6d15719564 /package
parent459f908815e17b2c34647758eaf5c7699c8be3b3 (diff)
[adm5120] build leds-adm5120 as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9219 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 7bb75ef9c..adcce08ab 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