mbedtls: Update submodules after checkout

When importing, after checking out the specified release, update any
submodules present.
pull/10642/head
Jaeden Amero 2019-05-23 09:24:39 +01:00
parent ce2de9a9bf
commit 262617935d
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ update: $(MBED_TLS_GIT_CFG) $(MBED_TLS_HA_GIT_CFG)
# Checking out the required release
git -C $(MBED_TLS_DIR) checkout $(MBED_TLS_RELEASE)
#
# Update and checkout git submodules
git -C $(MBED_TLS_DIR) submodule update --init --recursive
#
# Updating checked out version tag
git -C $(MBED_TLS_DIR) describe --tags --abbrev=12 --dirty --always > $(TARGET_PREFIX)VERSION.txt