mbed_crypto: Always describe the current version
Even with a shallow clone of the repo where there are no tags available to version with, don't error and instead show a unique abbreviated commit hash as fallback.
This commit is contained in:
parent
3e954cf84d
commit
3a33c01a98
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ crypto/%: %
|
||||||
$(call rename_mbedcrypto,$@)
|
$(call rename_mbedcrypto,$@)
|
||||||
|
|
||||||
crypto/VERSION.txt: FORCE
|
crypto/VERSION.txt: FORCE
|
||||||
@git describe --tags --abbrev=12 --dirty > $@
|
@git describe --tags --abbrev=12 --dirty --always > $@
|
||||||
|
|
||||||
mbedcrypto.tar.gz: $(LIB_FILES) $(INC_FILES) $(TEST_FILES) $(OTHER_FILES)
|
mbedcrypto.tar.gz: $(LIB_FILES) $(INC_FILES) $(TEST_FILES) $(OTHER_FILES)
|
||||||
@echo $@
|
@echo $@
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue