allow re-use of old unchanged dist artifacts
This commit is contained in:
parent
b9894265d0
commit
f966d23708
4
Makefile
4
Makefile
|
@ -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 $@
|
||||||
|
|
Loading…
Reference in New Issue