mbed TLS Build

Dependents:   Encrypt_Decrypt1 mbed_blink_tls encrypt encrypt

Committer:
markrad
Date:
Thu Jan 05 00:18:44 2017 +0000
Revision:
0:cdf462088d13
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
markrad 0:cdf462088d13 1 #!/bin/sh
markrad 0:cdf462088d13 2
markrad 0:cdf462088d13 3 set -eu
markrad 0:cdf462088d13 4
markrad 0:cdf462088d13 5 if [ -d include/mbedtls ]; then :; else
markrad 0:cdf462088d13 6 echo "$0: must be run from root" >&2
markrad 0:cdf462088d13 7 exit 1
markrad 0:cdf462088d13 8 fi
markrad 0:cdf462088d13 9
markrad 0:cdf462088d13 10 HEADERS=$( ls include/mbedtls/*.h | egrep -v 'compat-1\.3\.h' )
markrad 0:cdf462088d13 11
markrad 0:cdf462088d13 12 sed -n -e 's/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \
markrad 0:cdf462088d13 13 | egrep -v '^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \
markrad 0:cdf462088d13 14 | sort -u > macros
markrad 0:cdf462088d13 15
markrad 0:cdf462088d13 16 wc -l macros