aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-11 10:02:36 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-11 10:02:36 +0200
commit30d955a7a5570114d830c714e562be5427d76937 (patch)
tree5164e2e655a36fd9eef7c5e78dacf54b9edfcc88
parentb9afc86b5c2af0034614f3c28c502459c635d7f6 (diff)
downloadupstream-30d955a7a5570114d830c714e562be5427d76937.tar.gz
upstream-30d955a7a5570114d830c714e562be5427d76937.tar.bz2
upstream-30d955a7a5570114d830c714e562be5427d76937.zip
build: fix make clean, delete package directories for selected arch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 74a878c61d..c3e1ed7707 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ printdb:
prepare: $(target/stamp-compile)
clean: FORCE
- rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(BUILD_LOG_DIR)
+ rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(BUILD_LOG_DIR)
dirclean: clean
rm -rf $(STAGING_DIR_HOST) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN)