mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
e3d1e27b89
commit
bb17408a14
|
|
@ -157,7 +157,7 @@ update: $(MBED_TLS_GIT_CFG) $(MBED_TLS_HA_GIT_CFG)
|
|||
git -C $(MBED_TLS_DIR) checkout $(MBED_TLS_RELEASE)
|
||||
#
|
||||
# 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):
|
||||
rm -rf $(MBED_TLS_DIR)
|
||||
|
|
|
|||
Loading…
Reference in New Issue