aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-04-17 13:53:07 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-04-17 13:53:07 +0000
commita767c8bdf7ccfa6a0f90e8d88321ef750a6ab387 (patch)
treed42ca1c7776c286bafb9b79a82f24f747f41b885
parent0c2043240f8d325960da6297a4bc170fd38542b7 (diff)
downloadbuildroot-a767c8bdf7ccfa6a0f90e8d88321ef750a6ab387.tar.gz
buildroot-a767c8bdf7ccfa6a0f90e8d88321ef750a6ab387.tar.bz2
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.
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ed8c2610e6..065378766f 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: