mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 14:42:24 +00:00
footprint.sh: tune output again
This commit is contained in:
parent
4553a6cdcf
commit
3134ef0504
@ -65,14 +65,14 @@ doit()
|
|||||||
echo "(generated by $0)" > "$OUTFILE"
|
echo "(generated by $0)" > "$OUTFILE"
|
||||||
echo "" >> "$OUTFILE"
|
echo "" >> "$OUTFILE"
|
||||||
|
|
||||||
log "Footprint of default configurations (minus net.c, timing.c, fs_io)"
|
log "Footprint of standard configurations (minus net.c, timing.c, fs_io)"
|
||||||
log "for bare-metal ARM Cortex-M3/M4 microcontrollers."
|
log "for bare-metal ARM Cortex-M3/M4 microcontrollers."
|
||||||
|
|
||||||
VERSION_H="include/mbedtls/version.h"
|
VERSION_H="include/mbedtls/version.h"
|
||||||
MBEDTLS_VERSION=$( sed -n 's/.*VERSION_STRING *"\(.*\)"/\1/p' $VERSION_H )
|
MBEDTLS_VERSION=$( sed -n 's/.*VERSION_STRING *"\(.*\)"/\1/p' $VERSION_H )
|
||||||
if git rev-parse HEAD >/dev/null; then
|
if git rev-parse HEAD >/dev/null; then
|
||||||
GIT_HEAD=$( git rev-parse HEAD | head -c 10 )
|
GIT_HEAD=$( git rev-parse HEAD | head -c 10 )
|
||||||
GIT_VERSION=" ($GIT_HEAD)"
|
GIT_VERSION=" (git head: $GIT_HEAD)"
|
||||||
else
|
else
|
||||||
GIT_VERSION=""
|
GIT_VERSION=""
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user