aboutsummaryrefslogtreecommitdiffstats
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
commit5398dbecb7711994b5e28bf19123d82ebc96f6a2 (patch)
tree932c8bd66a67a76d1881c11c3dcfbd6d15719564
parent199c2d1ca587fe11dce11747a77237c4dff7df72 (diff)
downloadupstream-5398dbecb7711994b5e28bf19123d82ebc96f6a2.tar.gz
upstream-5398dbecb7711994b5e28bf19123d82ebc96f6a2.tar.bz2
upstream-5398dbecb7711994b5e28bf19123d82ebc96f6a2.zip
[adm5120] build leds-adm5120 as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9219 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 7bb75ef9cb..adcce08abe 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