Makefile: Fix version.h generation for make all_platforms

Same fix as 0ae65cc10f.
This commit is contained in:
Uwe Bonnes 2020-10-19 18:14:59 +02:00 committed by UweBonnes
parent 80ddafc2f8
commit 776861c6a0
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ clean: host_clean
all_platforms:
$(Q)set -e ;\
mkdir -p artifacts/$(shell git describe --always) ;\
mkdir -p artifacts/$(shell git describe --always --dirty --tags) ;\
echo "<html><body><ul>" > artifacts/index.html ;\
for i in platforms/*/Makefile.inc ; do \
export DIRNAME=`dirname $$i` ;\
@ -140,7 +140,7 @@ all_platforms:
fi ;\
done ;\
echo "</ul></body></html>" >> artifacts/index.html ;\
cp artifacts/*.bin artifacts/$(shell git describe --always)
cp artifacts/*.bin artifacts/$(shell git describe --always --dirty --tags)
command.c: include/version.h