mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 14:08:20 +00:00
Fix footprint.sh call to makefile (#600)
Ideally, Makefile targets should be called irrespectively of their execution order. In this sense, `clean` and `lib` should not be passed both as target command line arguments in the same make invocation. This is because out-of-order execution could cause a failure. This change ensures that `clean` and `lib` are called in separate executions of make in scripts/footprint.sh
This commit is contained in:
parent
3ac076784c
commit
9a5398f71b
1 changed files with 2 additions and 1 deletions
|
@ -69,8 +69,9 @@ doit()
|
||||||
scripts/config.pl --force set MBEDTLS_NO_PLATFORM_ENTROPY || true
|
scripts/config.pl --force set MBEDTLS_NO_PLATFORM_ENTROPY || true
|
||||||
} >/dev/null 2>&1
|
} >/dev/null 2>&1
|
||||||
|
|
||||||
|
make clean >/dev/null
|
||||||
CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld \
|
CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld \
|
||||||
CFLAGS="$ARMGCC_FLAGS" make clean lib >/dev/null
|
CFLAGS="$ARMGCC_FLAGS" make lib >/dev/null
|
||||||
|
|
||||||
OUT="size-${NAME}.txt"
|
OUT="size-${NAME}.txt"
|
||||||
arm-none-eabi-size -t library/libmbed*.a > "$OUT"
|
arm-none-eabi-size -t library/libmbed*.a > "$OUT"
|
||||||
|
|
Loading…
Reference in a new issue