allow re-use of old unchanged dist artifacts

This commit is contained in:
Lance Vick 2023-09-09 00:56:31 -07:00
parent b9894265d0
commit f966d23708
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 2 additions and 2 deletions

View File

@ -152,10 +152,10 @@ $(DIST_DIR):
&& { echo "Error: Git has untracked files present"; exit 1; } || : && { echo "Error: Git has untracked files present"; exit 1; } || :
git diff --name-only | grep . \ git diff --name-only | grep . \
&& { echo "Error: Git has unstaged changes present"; exit 1; } || : && { echo "Error: Git has unstaged changes present"; exit 1; } || :
rm -rf $@/* cp -Rp $@/* $(OUT_DIR)/
[ "$(PRESERVE_CACHE)" = "true" ] || $(MAKE) toolchain-clean [ "$(PRESERVE_CACHE)" = "true" ] || $(MAKE) toolchain-clean
$(MAKE) default $(MAKE) default
cp -R $(OUT_DIR)/* $@/ cp -Rp $(OUT_DIR)/* $@/
$(BIN_DIR): $(BIN_DIR):
mkdir -p $@ mkdir -p $@