diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-11-02 22:44:54 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-11-02 22:44:54 +0000 |
commit | 0d8d7f6937b263740bad6b430a1f44dce3bc74c5 (patch) | |
tree | 3b3611a2d19ed1027da045da699e596fbf2add84 /target/linux/linux-2.4/ar7.mk | |
parent | 47f243b63f19842393be743dd68bbd4db15340ae (diff) | |
download | upstream-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/linux-2.4/ar7.mk')
-rw-r--r-- | target/linux/linux-2.4/ar7.mk | 9 |
1 files changed, 7 insertions, 2 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) |