package wl and et and make them removable
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 2 Apr 2005 19:30:30 +0000 (19:30 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 2 Apr 2005 19:30:30 +0000 (19:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@532 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/linux/Config.in
openwrt/package/linux/Makefile
openwrt/package/linux/control/kmod-brcm-et.control [new file with mode: 0644]
openwrt/package/linux/control/kmod-brcm-wl.control [new file with mode: 0644]
openwrt/package/linux/linux.mk

index c06bcd2..b848572 100644 (file)
@@ -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
index 771a997..29a1bfa 100644 (file)
@@ -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/openwrt/package/linux/control/kmod-brcm-et.control b/openwrt/package/linux/control/kmod-brcm-et.control
new file mode 100644 (file)
index 0000000..a99a79a
--- /dev/null
@@ -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/openwrt/package/linux/control/kmod-brcm-wl.control b/openwrt/package/linux/control/kmod-brcm-wl.control
new file mode 100644 (file)
index 0000000..c8ec871
--- /dev/null
@@ -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
index 5d55ac9..1338079 100644 (file)
@@ -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)
This page took 0.029612 seconds and 4 git commands to generate.