mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-16 04:20:49 +00:00
Improve docs
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
28e38d8e12
commit
54ada8bae8
@ -3934,14 +3934,17 @@ component_build_tfm() {
|
||||
make lib CC="gcc" CFLAGS="-Os -std=c99 -Werror -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Wshadow -Wformat-signedness -Wlogical-op -I../tests/include/spe"
|
||||
}
|
||||
|
||||
# Test that the given .o file builds with all (valid) combinations of the given options.
|
||||
#
|
||||
# Syntax: build_test_config_combos FILE VALIDATOR_FUNCTION OPT1 OPT2 ...
|
||||
#
|
||||
# The validator function is the name of a function to validate the combination of options.
|
||||
# It may be "" if all combinations are valid.
|
||||
# It receives a string containing a combination of options, as passed to the compiler,
|
||||
# e.g. "-DOPT1 -DOPT2 ...". It must echo something iff the combination is invalid.
|
||||
build_test_config_combos() {
|
||||
# test that the given file builds with all (valid) combinations of the given options.
|
||||
# syntax: build_test_config_combos FILE VALIDATOR_FUNCTION OPT1 OPT2 ...
|
||||
# The validator function may be "" if all combinations are valid
|
||||
|
||||
file=$1
|
||||
shift
|
||||
# this function must echo something iff the clang "-DA -DB ..." string is invalid
|
||||
validate_options=$1
|
||||
shift
|
||||
options=("$@")
|
||||
|
Loading…
x
Reference in New Issue
Block a user