From 077e46ff10c203a7d115f0f743f7eacc6cc547ed Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 5 Oct 2010 23:59:16 +0200 Subject: 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" 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 -- cgit v0.10.2-6-g49f6