aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-11-02 22:44:54 +0000
committerNicolas Thill <nico@openwrt.org>2005-11-02 22:44:54 +0000
commit0d8d7f6937b263740bad6b430a1f44dce3bc74c5 (patch)
tree3b3611a2d19ed1027da045da699e596fbf2add84 /target/linux
parent47f243b63f19842393be743dd68bbd4db15340ae (diff)
downloadupstream-0d8d7f6937b263740bad6b430a1f44dce3bc74c5.tar.gz
upstream-0d8d7f6937b263740bad6b430a1f44dce3bc74c5.tar.bz2
upstream-0d8d7f6937b263740bad6b430a1f44dce3bc74c5.zip
add drivers-clean target when missing,
use in-package module loading instead of .modules file git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2317 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/linux-2.4/ar7.mk9
-rw-r--r--target/linux/linux-2.4/broadcom.mk7
-rw-r--r--target/linux/linux-2.4/config/ar7.modules1
-rw-r--r--target/linux/linux-2.4/config/brcm.modules2
-rw-r--r--target/linux/linux-2.4/config/x86.modules1
-rw-r--r--target/linux/linux-2.6/config/brcm.modules1
6 files changed, 12 insertions, 9 deletions
diff --git a/target/linux/linux-2.4/ar7.mk b/target/linux/linux-2.4/ar7.mk
index 8fd797bf46..85d5a79031 100644
--- a/target/linux/linux-2.4/ar7.mk
+++ b/target/linux/linux-2.4/ar7.mk
@@ -23,6 +23,11 @@ $(LINUX_DIR)/.drivers-unpacked: $(LINUX_DIR)/.unpacked
zcat $(DL_DIR)/$(ATM_FIRMWARE_FILE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $@
+linux-dirclean: drivers-clean
+
+drivers-clean:
+ rm -rf $(BUILD_DIR)/$(ATM_FIRMWARE_DIR)
+
$(eval $(call KMOD_template,SANGAM_ATM_A,sangam-atm-annex-a,\
$(MODULES_DIR)/kernel/drivers/atm/tiatm.o \
@@ -37,6 +42,6 @@ $(eval $(call KMOD_template,SANGAM_ATM_B,sangam-atm-annex-b,\
))
$(eval $(call KMOD_template,CPMAC,cpmac,\
- $(MODULES_DIR)/kernel/drivers/net/avalanche_cpmac/avalanche_cpmac.o \
-,CONFIG_MIPS_AVALANCHE_CPMAC))
+ $(MODULES_DIR)/kernel/drivers/net/avalanche_cpmac/avalanche_cpmac.o \
+,CONFIG_MIPS_AVALANCHE_CPMAC),,10,avalanche_cpmac)
diff --git a/target/linux/linux-2.4/broadcom.mk b/target/linux/linux-2.4/broadcom.mk
index 8419c5e854..3cf8bd70ae 100644
--- a/target/linux/linux-2.4/broadcom.mk
+++ b/target/linux/linux-2.4/broadcom.mk
@@ -6,12 +6,15 @@
#############################################################
# broadcom specific kmod packages
+
$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
-,CONFIG_WL))
+,CONFIG_WL),,10,wl)
+
$(eval $(call KMOD_template,BRCM_ET,brcm-et,\
$(MODULES_DIR)/kernel/drivers/net/et/et.o \
-,CONFIG_ET))
+,CONFIG_ET),,10,et)
+
$(eval $(call KMOD_template,LP,lp,\
$(MODULES_DIR)/kernel/drivers/parport/parport.o \
$(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
diff --git a/target/linux/linux-2.4/config/ar7.modules b/target/linux/linux-2.4/config/ar7.modules
deleted file mode 100644
index 05eed86a02..0000000000
--- a/target/linux/linux-2.4/config/ar7.modules
+++ /dev/null
@@ -1 +0,0 @@
-avalanche_cpmac
diff --git a/target/linux/linux-2.4/config/brcm.modules b/target/linux/linux-2.4/config/brcm.modules
deleted file mode 100644
index e717eae577..0000000000
--- a/target/linux/linux-2.4/config/brcm.modules
+++ /dev/null
@@ -1,2 +0,0 @@
-et
-wl
diff --git a/target/linux/linux-2.4/config/x86.modules b/target/linux/linux-2.4/config/x86.modules
deleted file mode 100644
index 8b13789179..0000000000
--- a/target/linux/linux-2.4/config/x86.modules
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/target/linux/linux-2.6/config/brcm.modules b/target/linux/linux-2.6/config/brcm.modules
deleted file mode 100644
index b9fcff42c8..0000000000
--- a/target/linux/linux-2.6/config/brcm.modules
+++ /dev/null
@@ -1 +0,0 @@
-b44