From: Felix Fietkau Date: Wed, 11 May 2016 08:02:36 +0000 (+0200) Subject: build: fix make clean, delete package directories for selected arch X-Git-Tag: v17.01.0-rc1~2890 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=30d955a7a5570114d830c714e562be5427d76937 build: fix make clean, delete package directories for selected arch Signed-off-by: Felix Fietkau --- 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)