aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-25 15:50:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-25 15:50:02 +0000
commitc7b3d1ed91bd7cc43f885e2a8fb527b7dcdfd54b (patch)
tree9e91bb06c106a442b9c00ff0c753b19a8848da21 /target
parent5ce1b9bd3ec0ad888dbf393273422204d977ef44 (diff)
downloadupstream-c7b3d1ed91bd7cc43f885e2a8fb527b7dcdfd54b.tar.gz
upstream-c7b3d1ed91bd7cc43f885e2a8fb527b7dcdfd54b.tar.bz2
upstream-c7b3d1ed91bd7cc43f885e2a8fb527b7dcdfd54b.zip
[ar71xx] move target specific leds modules to ar71xx modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32852 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/modules.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk
new file mode 100644
index 0000000000..18f0c4ae50
--- /dev/null
+++ b/target/linux/ar71xx/modules.mk
@@ -0,0 +1,37 @@
+#
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/leds-rb750
+ SUBMENU:=$(LEDS_MENU)
+ TITLE:=RouterBOARD 750 LED support
+ DEPENDS:=@TARGET_ar71xx
+ KCONFIG:=CONFIG_LEDS_RB750
+ FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
+ AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
+endef
+
+define KernelPackage/leds-rb750/description
+ Kernel module for the LEDs on the MikroTik RouterBOARD 750.
+endef
+
+$(eval $(call KernelPackage,leds-rb750))
+
+
+define KernelPackage/leds-wndr3700-usb
+ SUBMENU:=$(LEDS_MENU)
+ TITLE:=WNDR3700 USB LED support
+ DEPENDS:=@TARGET_ar71xx
+ KCONFIG:=CONFIG_LEDS_WNDR3700_USB
+ FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
+ AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
+endef
+
+define KernelPackage/leds-wndr3700-usb/description
+ Kernel module for the USB LED on the NETGWR WNDR3700 board.
+endef
+
+$(eval $(call KernelPackage,leds-wndr3700-usb))