mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 22:04:15 +01:00
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
@ -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…
Reference in New Issue
Block a user