summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-19 13:00:30 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-19 13:00:30 +0000
commit7d51245340742956d612c8a569f904d3a946135f (patch)
treef4e652c161de4b02c34416cff43f59a96607c27a /toolchain
parent90ce6619a3cb1ac545dd6a30a2c5c10a872adca8 (diff)
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 ef9c3dc0a..3097a4bf2 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 e2fdd71cc..cafdcd3d5 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 3457b4a69..d1d372ecf 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 7335e24a3..9edf1a0f1 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 d104ce145..15cf6b279 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