Makefile: Fix version.h generation for make all_platforms

Same fix as 0ae65cc10fd2.
This commit is contained in:
Uwe Bonnes 2020-10-19 18:14:59 +02:00 committed by UweBonnes
parent 80ddafc2f8
commit 776861c6a0

View File

@ -119,7 +119,7 @@ clean: host_clean
all_platforms: all_platforms:
$(Q)set -e ;\ $(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 ;\ echo "<html><body><ul>" > artifacts/index.html ;\
for i in platforms/*/Makefile.inc ; do \ for i in platforms/*/Makefile.inc ; do \
export DIRNAME=`dirname $$i` ;\ export DIRNAME=`dirname $$i` ;\
@ -140,7 +140,7 @@ all_platforms:
fi ;\ fi ;\
done ;\ done ;\
echo "</ul></body></html>" >> artifacts/index.html ;\ 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 command.c: include/version.h