mbedtls/scripts
Manuel Pégourié-Gonnard 070f107a61 Add --check option to scripts/baremetal.sh
Only effective together with --rom, makes two changes:
- abort in case of build warnings
- skip writing statistics

The goal is to make sure we build cleanly in the configuration used for
measuring code size, with all the compilers we use, both because we care about
that configuration and those compilers, and because any warnings would cast a
shadow on the code size measurements.

Currently the build fails with armc5 due to a pre-existing warning in PK, this
will be fixed in the next commit.

The next commit will also add an all.sh component to make sure we have no
regression in the future. (Which is the motivation for --check skipping
statistics: an all.sh component should probably not leave files around.)

While at it, fix two things:

1. The call to gcc --version was redundant with the echo line below
2. WARNING_CFLAGS shouldn't be overriden with armclang, as it would remove the
-Wall -Wextra and any directory-specific warning (such as
-Wdeclaration-after-statement in library). It's meant to be overriden only
with compilers that don't accept the default value (namely armc5 here).
2019-06-18 11:28:59 +02:00
..
data_files Fix check-generated-files.sh failure with query_config 2019-02-07 10:32:31 +00:00
abi_check.py Only use submodule if present 2019-05-09 13:25:26 +01:00
apidoc_full.sh Add scripts/apidoc_full.sh 2016-01-12 14:48:03 +00:00
baremetal.sh Add --check option to scripts/baremetal.sh 2019-06-18 11:28:59 +02:00
bump_version.sh Add gen_query_config.pl to check-gen-files and bump_version 2019-02-07 10:32:31 +00:00
config.pl Use negated option for controlling TLS support. 2019-06-17 15:26:34 +02:00
ecc-heap.sh Rename M255 to Curve25519 2015-06-23 13:09:10 +02:00
extract_codesize_stats.sh Rename generate_codesize_stats.sh to extract_codesize_stats.sh 2019-04-03 13:46:27 +01:00
find-mem-leak.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
footprint.sh Remove Yotta module from footprint.sh script 2017-05-15 11:23:55 +03:00
generate_errors.pl Add platform error codes 2018-08-29 18:53:20 +03:00
generate_features.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
generate_query_config.pl Update query_config.c with new macros 2019-02-07 10:32:31 +00:00
generate_visualc_files.pl Use \r instead of 0xD in generate_visualc_files.pl 2019-02-07 10:32:31 +00:00
massif_max.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
memory.sh Print I/O buffer size in memory.sh 2015-09-09 13:51:05 +02:00
output_env.sh Merge branch 'development' into iotssl-1941-aria-ciphersuites 2018-05-22 15:58:50 +02:00
rename.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
rm-calloc-cast.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
tmp_ignore_makefiles.sh Ability to ignore changes to Makefiles due to CMake usage 2014-06-24 11:09:25 +02:00