From a767c8bdf7ccfa6a0f90e8d88321ef750a6ab387 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 17 Apr 2009 13:53:07 +0000 Subject: Makefile: distclean: remove correct dirs Remove toolchain build dir, and don't try to remove the non-existing include dir. Also don't explicitly remove the kernel image located in binaries as we're already removing that dir. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ed8c2610e..065378766 100644 --- a/Makefile +++ b/Makefile @@ -402,9 +402,8 @@ distclean: ifeq ($(DL_DIR),$(BASE_DIR)/dl) rm -rf $(DL_DIR) endif - rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \ - $(LINUX_KERNEL) $(BASE_DIR)/include \ - .config.cmd + rm -rf $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \ + .config.cmd $(MAKE) -C $(CONFIG) clean sourceball: -- cgit v1.2.3-55-g7522