mbed TLS Build

Dependents:   Slave-prot-prod

Committer:
williequesada
Date:
Tue Jun 04 16:03:38 2019 +0000
Revision:
1:1a219dea6cb5
Parent:
0:cdf462088d13
compartir a Pablo

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