Record Mbed Crypto version

Record the version of Mbed Crypto into VERSION.txt for easy reference.
pull/8859/head
Mohammad AboMokh 2018-11-18 17:02:11 +02:00 committed by Jaeden Amero
parent 7ba359a4a6
commit 15945687bc
1 changed files with 3 additions and 0 deletions

View File

@ -133,6 +133,9 @@ update: $(MBED_TLS_GIT_CFG) $(MBED_TLS_HA_GIT_CFG)
#
# Updating checked out version tag
echo $(MBED_TLS_RELEASE) > $(TARGET_PREFIX)VERSION.txt
#
# Updating Mbed Crypto checked out version tag
git -C $(MBED_CRYPTO_DIR) describe --tags --abbrev=12 --dirty --always >> $(TARGET_PREFIX)VERSION.txt
$(MBED_TLS_GIT_CFG):
rm -rf $(MBED_TLS_DIR)