mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 20:44:17 +01:00
Explain why we check that a certain feature is enabled
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
33665c4800
commit
932b30ba65
@ -2625,6 +2625,7 @@ component_build_mbedtls_config_file () {
|
|||||||
scripts/config.py -w full_config.h full
|
scripts/config.py -w full_config.h full
|
||||||
echo '#error "MBEDTLS_CONFIG_FILE is not working"' >"$CONFIG_H"
|
echo '#error "MBEDTLS_CONFIG_FILE is not working"' >"$CONFIG_H"
|
||||||
make CFLAGS="-I '$PWD' -DMBEDTLS_CONFIG_FILE='\"full_config.h\"'"
|
make CFLAGS="-I '$PWD' -DMBEDTLS_CONFIG_FILE='\"full_config.h\"'"
|
||||||
|
# Make sure this feature is enabled. We'll disable it in the next phase.
|
||||||
programs/test/query_compile_time_config MBEDTLS_NIST_KW_C
|
programs/test/query_compile_time_config MBEDTLS_NIST_KW_C
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
@ -2644,6 +2645,7 @@ component_build_psa_config_file () {
|
|||||||
cp "$CRYPTO_CONFIG_H" psa_test_config.h
|
cp "$CRYPTO_CONFIG_H" psa_test_config.h
|
||||||
echo '#error "MBEDTLS_PSA_CRYPTO_CONFIG_FILE is not working"' >"$CRYPTO_CONFIG_H"
|
echo '#error "MBEDTLS_PSA_CRYPTO_CONFIG_FILE is not working"' >"$CRYPTO_CONFIG_H"
|
||||||
make CFLAGS="-I '$PWD' -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE='\"psa_test_config.h\"'"
|
make CFLAGS="-I '$PWD' -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE='\"psa_test_config.h\"'"
|
||||||
|
# Make sure this feature is enabled. We'll disable it in the next phase.
|
||||||
programs/test/query_compile_time_config MBEDTLS_CMAC_C
|
programs/test/query_compile_time_config MBEDTLS_CMAC_C
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user