[Buildroot] [PATCH] Ensure distclean actually removes everything

Will Wagner will_wagner at carallon.com
Mon Dec 5 18:28:41 UTC 2011


Signed-off-by: Will Wagner <will_wagner at carallon.com>
---
 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 0d67143..9b8a8d9 100644
--- a/Makefile
+++ b/Makefile
@@ -627,8 +627,10 @@ ifeq ($(DL_DIR),$(TOPDIR)/dl)
 endif
 ifeq ($(O),output)
 	rm -rf $(O)
+else
+	rm -rf $(O)/toolchainfile.cmake
 endif
-	rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps
+	rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps $(CONFIG_DIR)/..config.tmp
 
 cross: $(BASE_TARGETS)
 
-- 
1.7.2.5




More information about the buildroot mailing list