build leds-adm5120 as a module
authorGabor Juhos <juhosg@openwrt.org>
Tue, 9 Oct 2007 19:37:30 +0000 (19:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 9 Oct 2007 19:37:30 +0000 (19:37 +0000)
SVN-Revision: 9219

package/kernel/modules/other.mk

index 7bb75ef9cb4e4da905998fd9119007ae9dcd4123..adcce08abec9724870c3c939e15358603d9b60d6 100644 (file)
@@ -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