summaryrefslogtreecommitdiff
path: root/package/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-20 17:00:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-20 17:00:08 +0000
commit7fb7f1c43b806786372a023814fc914a2fb7cc76 (patch)
tree7a830beba1ddf5c3b0a9170be7aad203f62e21bb /package/linux
parent79e92078323a468e3e8d5a2c7c7481d9b7a91d97 (diff)
package kmod-diag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@687 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux')
-rw-r--r--package/linux/Config.in6
-rw-r--r--package/linux/Makefile3
-rw-r--r--package/linux/control/kmod-diag.control6
-rw-r--r--package/linux/linux.mk1
4 files changed, 15 insertions, 1 deletions
diff --git a/package/linux/Config.in b/package/linux/Config.in
index 2ab006c8b8..6f73d97e1f 100644
--- a/package/linux/Config.in
+++ b/package/linux/Config.in
@@ -1,3 +1,9 @@
+config BR2_PACKAGE_KMOD_DIAG
+ tristate "Router LED/Button Driver"
+ default y
+ help
+ Driver for the LEDs on Wireless Routers (diag)
+
config BR2_PACKAGE_KMOD_BRCM_WL
tristate "Broadcom Wireless Network Driver"
default y
diff --git a/package/linux/Makefile b/package/linux/Makefile
index fdd7e8d769..4d94212d3b 100644
--- a/package/linux/Makefile
+++ b/package/linux/Makefile
@@ -39,6 +39,9 @@ $$(PKG_$(1)): $(LINUX_DIR)/.modules_done
endef
+$(eval $(call KMOD_template,DIAG,diag,\
+ $(MODULES_DIR)/kernel/drivers/net/diag/diag.o \
+))
$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
,CONFIG_WL))
diff --git a/package/linux/control/kmod-diag.control b/package/linux/control/kmod-diag.control
new file mode 100644
index 0000000000..8e7603cf00
--- /dev/null
+++ b/package/linux/control/kmod-diag.control
@@ -0,0 +1,6 @@
+Package: kmod-diag
+Priority: essential
+Section: sys
+Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
+Source: buildroot internal
+Description: Driver for Router LEDs and Buttons
diff --git a/package/linux/linux.mk b/package/linux/linux.mk
index c443e65523..43417a4114 100644
--- a/package/linux/linux.mk
+++ b/package/linux/linux.mk
@@ -95,7 +95,6 @@ $(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured
$(TARGET_MODULES_DIR):
-mkdir -p $(TARGET_MODULES_DIR)
- cp $(LINUX_DIR)/drivers/net/diag/diag.o $(TARGET_MODULES_DIR)
linux: $(LINUX_DIR)/.modules_done $(TARGET_MODULES_DIR)