aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-02 19:30:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-02 19:30:30 +0000
commit0836b5c444b44864da44d84e81b34490b3a667a3 (patch)
tree40f13fb7f572eac8813a8c6e595f696a6a24e6fe /package
parent02e3fa03017877bf31aac81aa414dbfb9e65bccd (diff)
downloadupstream-0836b5c444b44864da44d84e81b34490b3a667a3.tar.gz
upstream-0836b5c444b44864da44d84e81b34490b3a667a3.tar.bz2
upstream-0836b5c444b44864da44d84e81b34490b3a667a3.zip
package wl and et and make them removable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@532 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/linux/Config.in12
-rw-r--r--package/linux/Makefile6
-rw-r--r--package/linux/control/kmod-brcm-et.control6
-rw-r--r--package/linux/control/kmod-brcm-wl.control6
-rw-r--r--package/linux/linux.mk2
5 files changed, 30 insertions, 2 deletions
diff --git a/package/linux/Config.in b/package/linux/Config.in
index c06bcd2411..b848572914 100644
--- a/package/linux/Config.in
+++ b/package/linux/Config.in
@@ -1,3 +1,15 @@
+config BR2_PACKAGE_KMOD_BRCM_WL
+ tristate "Broadcom Wireless Network Driver"
+ default y
+ help
+ Proprietary driver for Broadcom Wireless chipsets
+
+config BR2_PACKAGE_KMOD_BRCM_ET
+ tristate "Broadcom Ethernet Driver"
+ default y
+ help
+ Proprietary driver for Broadcom Ethernet chipsets
+
config BR2_PACKAGE_KMOD_ARPT
tristate "ARP firewalling support"
default m
diff --git a/package/linux/Makefile b/package/linux/Makefile
index 771a9979d5..29a1bfa309 100644
--- a/package/linux/Makefile
+++ b/package/linux/Makefile
@@ -38,6 +38,12 @@ $$(PKG_$(1)): $(LINUX_DIR)/.modules_done
endef
+$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
+ $(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
+,CONFIG_WL))
+$(eval $(call KMOD_template,BRCM_ET,brcm-et,\
+ $(MODULES_DIR)/kernel/drivers/net/et/et.o \
+,CONFIG_ET))
$(eval $(call KMOD_template,ARPT,arptables,\
$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.o \
,CONFIG_IP_NF_ARPTABLES))
diff --git a/package/linux/control/kmod-brcm-et.control b/package/linux/control/kmod-brcm-et.control
new file mode 100644
index 0000000000..a99a79aa90
--- /dev/null
+++ b/package/linux/control/kmod-brcm-et.control
@@ -0,0 +1,6 @@
+Package: kmod-brcm-et
+Priority: optional
+Section: sys
+Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
+Source: buildroot internal
+Description: Proprietary driver for Broadcom Ethernet chipsets
diff --git a/package/linux/control/kmod-brcm-wl.control b/package/linux/control/kmod-brcm-wl.control
new file mode 100644
index 0000000000..c8ec871226
--- /dev/null
+++ b/package/linux/control/kmod-brcm-wl.control
@@ -0,0 +1,6 @@
+Package: kmod-brcm-wl
+Priority: optional
+Section: sys
+Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
+Source: buildroot internal
+Description: Proprietary driver for Broadcom Wireless chipsets
diff --git a/package/linux/linux.mk b/package/linux/linux.mk
index 5d55ac9f70..1338079cf5 100644
--- a/package/linux/linux.mk
+++ b/package/linux/linux.mk
@@ -94,8 +94,6 @@ $(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured
$(TARGET_MODULES_DIR):
-mkdir -p $(TARGET_MODULES_DIR)
- cp $(LINUX_DIR)/drivers/net/wl/wl.o $(TARGET_MODULES_DIR)
- cp $(LINUX_DIR)/drivers/net/et/et.o $(TARGET_MODULES_DIR)
cp $(LINUX_DIR)/drivers/net/diag/diag.o $(TARGET_MODULES_DIR)
linux: $(LINUX_DIR)/.modules_done $(TARGET_MODULES_DIR)