summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/linux-2.4/ar7.mk
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-02 22:44:54 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-02 22:44:54 +0000
commit7f1a15c7c59724673a99a19e7ea53f8a97a523a3 (patch)
tree0c4887fa49caf037863cae6805e3feb584cba1c1 /openwrt/target/linux/linux-2.4/ar7.mk
parenta119f78f2a864ef4e49f20e3324b6bd963e41679 (diff)
add drivers-clean target when missing,
use in-package module loading instead of .modules file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2317 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/linux-2.4/ar7.mk')
-rw-r--r--openwrt/target/linux/linux-2.4/ar7.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/openwrt/target/linux/linux-2.4/ar7.mk b/openwrt/target/linux/linux-2.4/ar7.mk
index 8fd797bf46..85d5a79031 100644
--- a/openwrt/target/linux/linux-2.4/ar7.mk
+++ b/openwrt/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)