summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-05 21:59:16 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-05 21:59:16 (GMT)
commit077e46ff10c203a7d115f0f743f7eacc6cc547ed (patch)
tree841d05fb6ef6b600ac2d895b5dd4449e3f93b4d4
parenta388c5b9339e7b500e0c028003f8d6acc508907c (diff)
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 ca3c759..bbd7b62 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