[adm5120] build leds-adm5120 as a module

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9219 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2007-10-09 19:37:30 +00:00
parent 199c2d1ca5
commit 5398dbecb7
1 changed files with 16 additions and 0 deletions

View 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