[openwrt/openwrt] build: don't remove BUILD_LOG_DIR in _clean

LEDE Commits lede-commits at lists.infradead.org
Sun May 1 05:28:44 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/fbd9605a908dc514ebf669589d40ea38c1d25134

commit fbd9605a908dc514ebf669589d40ea38c1d25134
Author: Huangbin Zhan <zhanhb88 at gmail.com>
AuthorDate: Sun Apr 24 09:58:25 2022 +0800

    build: don't remove BUILD_LOG_DIR in _clean
    
    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 at gmail.com>
    (cherry picked from commit aeaa816cd2bd22de165c71a41d8d198a9235e971)
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d85df6c3cf..3ac110367d 100644
--- 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)




More information about the lede-commits mailing list