summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin@gmail.com>2013-09-30 11:09:27 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-10-01 19:56:40 (GMT)
commit300eb6b751bc623a2446ead4c885bcfa84419744 (patch)
tree5eb99aacf9cfecd3acef69d4c8c37b23597e3c05
parenta932f959dc5be2036995d02742d45d154ebbecb3 (diff)
downloadbuildroot-300eb6b751bc623a2446ead4c885bcfa84419744.tar.gz
buildroot-300eb6b751bc623a2446ead4c885bcfa84419744.tar.bz2
make clean: remove redundant removal of STAGING_DIR
Since STAGING_DIR is defined as (package/Makefile.in): STAGING_SUBDIR = usr/$(GNU_TARGET_NAME)/sysroot STAGING_DIR = $(HOST_DIR)/$(STAGING_SUBDIR) removing HOST_DIR will automatically remove STAGING_DIR. This patch updates 'make clean' based on this knowledge. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 667e233..cd3dc0d 100644
--- a/Makefile
+++ b/Makefile
@@ -751,7 +751,7 @@ printvars:
$(info $V=$($V) ($(value $V)))))
clean:
- rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
+ rm -rf $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
$(STAMP_DIR) $(BUILD_DIR) $(BASE_DIR)/staging \
$(LEGAL_INFO_DIR)