aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-02-19 13:00:30 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-02-19 13:00:30 +0000
commit1992d1fcbfe0c9af04618faff0593d41924c16d6 (patch)
treef4e652c161de4b02c34416cff43f59a96607c27a /toolchain
parent78c027e7cc93b2794950a4d5be087c0021b65824 (diff)
downloadupstream-1992d1fcbfe0c9af04618faff0593d41924c16d6.tar.gz
upstream-1992d1fcbfe0c9af04618faff0593d41924c16d6.tar.bz2
upstream-1992d1fcbfe0c9af04618faff0593d41924c16d6.zip
demistifying make *clean targets, fix some clean targets issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/binutils.mk4
-rw-r--r--toolchain/ccache/ccache.mk4
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk6
-rw-r--r--toolchain/kernel-headers/kernel-headers.mk2
-rw-r--r--toolchain/uClibc/uclibc.mk2
5 files changed, 9 insertions, 9 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index ef9c3dc0a2..3097a4bf21 100644
--- a/toolchain/binutils/binutils.mk
+++ b/toolchain/binutils/binutils.mk
@@ -79,7 +79,7 @@ binutils-clean:
rm -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)*
-$(MAKE) -C $(BINUTILS_DIR1) clean
-binutils-dirclean:
+binutils-toolclean:
rm -rf $(BINUTILS_DIR1)
@@ -130,5 +130,5 @@ binutils_target-clean:
rm -f $(TARGET_DIR)/bin/$(REAL_GNU_TARGET_NAME)*
-$(MAKE) -C $(BINUTILS_DIR2) clean
-binutils_target-dirclean:
+binutils_target-toolclean:
rm -rf $(BINUTILS_DIR2)
diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk
index e2fdd71cc1..cafdcd3d5d 100644
--- a/toolchain/ccache/ccache.mk
+++ b/toolchain/ccache/ccache.mk
@@ -83,7 +83,7 @@ ccache-clean:
$(MAKE) -C $(CCACHE_DIR1) uninstall
-$(MAKE) -C $(CCACHE_DIR1) clean
-ccache-dirclean:
+ccache-toolclean:
rm -rf $(CCACHE_DIR1)
@@ -147,5 +147,5 @@ ccache_target-clean:
rm -f $(TARGET_DIR)/$(CCACHE_TARGET_BINARY)
-$(MAKE) -C $(CCACHE_DIR2) clean
-ccache_target-dirclean:
+ccache_target-toolclean:
rm -rf $(CCACHE_DIR2)
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 3457b4a69b..d1d372ecfb 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -127,7 +127,7 @@ gcc_initial-clean:
rm -rf $(GCC_BUILD_DIR1)
rm -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)*
-gcc_initial-dirclean:
+gcc_initial-toolclean:
rm -rf $(GCC_BUILD_DIR1)
#############################################################
@@ -225,7 +225,7 @@ gcc-clean:
rm -rf $(GCC_BUILD_DIR2)
rm -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)*
-gcc-dirclean:
+gcc-toolclean:
rm -rf $(GCC_BUILD_DIR2)
#############################################################
@@ -315,7 +315,7 @@ gcc_target-clean:
rm -rf $(GCC_BUILD_DIR3)
rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)*
-gcc_target-dirclean:
+gcc_target-toolclean:
rm -rf $(GCC_BUILD_DIR3)
endif
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index 7335e24a35..9edf1a0f1b 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -40,5 +40,5 @@ kernel-headers-source: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)
kernel-headers-clean: clean
rm -rf $(LINUX_HEADERS_DIR)
-kernel-headers-dirclean:
+kernel-headers-toolclean:
rm -rf $(LINUX_HEADERS_DIR)
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index d104ce145c..15cf6b2793 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -137,7 +137,7 @@ uclibc-clean:
-$(MAKE1) -C $(UCLIBC_DIR) clean
rm -f $(UCLIBC_DIR)/.config
-uclibc-dirclean:
+uclibc-toolclean:
rm -rf $(UCLIBC_DIR)
uclibc-target-utils: $(TARGET_DIR)/usr/bin/ldd