build: don't remove BUILD_LOG_DIR in _clean
authorHuangbin Zhan <zhanhb88@gmail.com>
Sun, 24 Apr 2022 01:58:25 +0000 (09:58 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 May 2022 11:23:12 +0000 (13:23 +0200)
targetclean should not remove BUILD_LOG

Fixes: db34b93331e9 (add a version that can be bumped to force toolchain/target rebuild)
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
(cherry picked from commit aeaa816cd2bd22de165c71a41d8d198a9235e971)

Makefile

index d85df6c3cf61073967c22b8e5f14a13b38b0aac8..3ac110367df48105695af2ff80341ba5f7c74e85 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ printdb:
 prepare: $(target/stamp-compile)
 
 _clean: FORCE
-       rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(BUILD_LOG_DIR) $(TOPDIR)/staging_dir/packages
+       rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(TOPDIR)/staging_dir/packages
 
 clean: _clean
        rm -rf $(BUILD_LOG_DIR)