From 702167080fa54466f2ca37858dbf14c85def235f Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Tue, 24 May 2016 09:56:08 +0100 Subject: [PATCH] Add comments to the Makefile. --- core/mbedtls/importer/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/mbedtls/importer/Makefile b/core/mbedtls/importer/Makefile index e24537cfdc..19b3aab2c4 100644 --- a/core/mbedtls/importer/Makefile +++ b/core/mbedtls/importer/Makefile @@ -17,6 +17,16 @@ # ########################################################################### +# +# Use this file to import an mbed TLS release into mbed-OS as follows: +# 1) set the MBED_TLS_RELEASE to the correct mbed TLS release tag +# 2) make update +# 3) make +# 4) commit and push changes via git +# +# WARNING! To import the hardware acceleration sample code the latest revision +# will be checked out from the master branch of its own repository. + # Set the mbed TLS release to import (this can/should be edited before import) MBED_TLS_RELEASE:=yotta-2.3.0 @@ -70,6 +80,8 @@ deploy: rsync update: $(MBED_TLS_GIT_CFG) $(MBED_TLS_HA_GIT_CFG) # # Updating to latest mbed TLS library version + # (If it is not an initial checkout we will start with the repo + # being in a detached head state) git -C $(MBED_TLS_DIR) checkout development git -C $(MBED_TLS_DIR) pull --rebase origin development #