From 300eb6b751bc623a2446ead4c885bcfa84419744 Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Mon, 30 Sep 2013 13:09:27 +0200 Subject: [PATCH] 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 Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 667e233242..cd3dc0d0c5 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) -- 2.30.2