aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-05 23:59:16 +0200
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-05 23:59:16 +0200
commit077e46ff10c203a7d115f0f743f7eacc6cc547ed (patch)
tree841d05fb6ef6b600ac2d895b5dd4449e3f93b4d4
parenta388c5b9339e7b500e0c028003f8d6acc508907c (diff)
downloadcrosstool-ng-077e46ff10c203a7d115f0f743f7eacc6cc547ed.tar.gz
crosstool-ng-077e46ff10c203a7d115f0f743f7eacc6cc547ed.tar.bz2
crosstool-ng-077e46ff10c203a7d115f0f743f7eacc6cc547ed.zip
scripts: update distclean
The toolchains are now built in .build/ rather than in targets/ so distclean has to get rid of that. We also clean up the old dir, as users may have old samples that still refer to the old location. Do not hide messages during distclean, and do not ignore errors. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r--ct-ng.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/ct-ng.in b/ct-ng.in
index ca3c759f..bbd7b625 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -171,6 +171,6 @@ PHONY += distclean
distclean:: clean
@$(ECHO) " CLEAN .config"
$(SILENT)rm -f .config .config.* ..config*
- @$(ECHO) " CLEAN targets"
- $(SILENT)chmod -R u+w targets >/dev/null 2>&1 || true
- $(SILENT)rm -rf targets
+ @$(ECHO) " CLEAN build dir"
+ $(SILENT)chmod -R u+w targets .build
+ $(SILENT)rm -rf targets .build