mirror of
https://github.com/immortalwrt/immortalwrt
synced 2025-01-07 03:27:22 +08:00
build: don't remove BUILD_LOG_DIR in _clean
targetclean should not remove BUILD_LOG Fixes:db34b93331
(add a version that can be bumped to force toolchain/target rebuild) Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com> (cherry picked from commitaeaa816cd2
)
This commit is contained in:
parent
1bb9e55434
commit
1ecf0cea11
11
Makefile
11
Makefile
@ -50,13 +50,16 @@ printdb:
|
|||||||
|
|
||||||
prepare: $(target/stamp-compile)
|
prepare: $(target/stamp-compile)
|
||||||
|
|
||||||
clean: FORCE
|
_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
|
||||||
|
|
||||||
targetclean: clean
|
clean: _clean
|
||||||
|
rm -rf $(BUILD_LOG_DIR)
|
||||||
|
|
||||||
|
targetclean: _clean
|
||||||
rm -rf $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN)
|
rm -rf $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN)
|
||||||
|
|
||||||
dirclean: targetclean
|
dirclean: targetclean clean
|
||||||
rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(BUILD_DIR_BASE)/host
|
rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(BUILD_DIR_BASE)/host
|
||||||
rm -rf $(TMP_DIR)
|
rm -rf $(TMP_DIR)
|
||||||
$(MAKE) -C $(TOPDIR)/scripts/config clean
|
$(MAKE) -C $(TOPDIR)/scripts/config clean
|
||||||
|
Loading…
Reference in New Issue
Block a user