mbedtls: Make imported version tag more verbose

When importing development releases of Mbed TLS into Mbed OS, it is
useful to be able to know a the particular git commit hash that was
imported. This change avoids ever creating a VERSION.txt for Mbed TLS
containing only "development", which is fairly useless since one doesn't
know where the development branch was at the time of import.
pull/10642/head
Jaeden Amero 2019-05-10 15:36:24 +01:00
parent e3d1e27b89
commit bb17408a14
1 changed files with 1 additions and 1 deletions

View File

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