libtestdriver: Introduce crypto_config_test_driver.

tf-psa configuration options for the libtestdriver
have been migrated to `crypto_config_test_driver.h`

Signed-off-by: Minos Galanakis <[email protected]>
This commit is contained in:
Minos Galanakis
2024-11-29 14:39:07 +00:00
parent df0144c4a3
commit dbe4be448f
2 changed files with 20 additions and 4 deletions
+10 -2
View File
@@ -157,14 +157,22 @@ pre_initialize_variables () {
CRYPTO_CONFIG_H='tf-psa-crypto/include/psa/crypto_config.h'
PSA_CORE_PATH='tf-psa-crypto/core'
BUILTIN_SRC_PATH='tf-psa-crypto/drivers/builtin/src'
CONFIG_TEST_DRIVER_H='tf-psa-crypto/tests/configs/config_test_driver.h'
if in_3_6_branch; then
CONFIG_TEST_DRIVER_H='tf-psa-crypto/tests/configs/config_test_driver.h'
else
CONFIG_TEST_DRIVER_H='tf-psa-crypto/tests/configs/crypto_config_test_driver.h'
fi
else
CRYPTO_CONFIG_H='include/psa/crypto_config.h'
# helper_armc6_build_test() relies on these being defined,
# but empty if the paths don't exist (as in 3.6).
PSA_CORE_PATH=''
BUILTIN_SRC_PATH=''
CONFIG_TEST_DRIVER_H='tests/configs/config_test_driver.h'
if in_3_6_branch; then
CONFIG_TEST_DRIVER_H='tests/configs/config_test_driver.h'
else
CONFIG_TEST_DRIVER_H='tests/configs/crypto_config_test_driver.h'
fi
fi
config_files="$CONFIG_H $CRYPTO_CONFIG_H $CONFIG_TEST_DRIVER_H"
else