Mirror only - Please move to https://github.com/immortalwrt/immortalwrt
修订版 | 7154f0bff1d5b34d17af96af73d5a58afe22d01a (tree) |
---|---|
时间 | 2022-09-09 12:18:22 |
作者 | Tianling Shen <cnsztl@immo...> |
Commiter | Tianling Shen |
build: remove redudant code
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
@@ -50,16 +50,13 @@ printdb: | ||
50 | 50 | |
51 | 51 | prepare: $(target/stamp-compile) |
52 | 52 | |
53 | -_clean: FORCE | |
53 | +clean: FORCE | |
54 | 54 | rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(BUILD_LOG_DIR) $(TOPDIR)/staging_dir/packages |
55 | 55 | |
56 | -clean: _clean | |
57 | - rm -rf $(BUILD_LOG_DIR) | |
58 | - | |
59 | -targetclean: _clean | |
56 | +targetclean: clean | |
60 | 57 | rm -rf $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN) |
61 | 58 | |
62 | -dirclean: targetclean clean | |
59 | +dirclean: targetclean | |
63 | 60 | rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(BUILD_DIR_BASE)/host |
64 | 61 | rm -rf $(TMP_DIR) |
65 | 62 | $(MAKE) -C $(TOPDIR)/scripts/config clean |