mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Update libtestdriver paths in tests/Makefile
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
cbab2ff06e
commit
6bbd9c0b70
@ -337,16 +337,16 @@ libtestdriver1.a:
|
|||||||
cp -Rf ../scripts ./libtestdriver1
|
cp -Rf ../scripts ./libtestdriver1
|
||||||
|
|
||||||
# Set the test driver base (minimal) configuration.
|
# Set the test driver base (minimal) configuration.
|
||||||
cp ./include/test/drivers/config_test_driver.h ./libtestdriver1/include/mbedtls/mbedtls_config.h
|
cp ../framework/tests/include/test/drivers/config_test_driver.h ./libtestdriver1/include/mbedtls/mbedtls_config.h
|
||||||
|
|
||||||
# Set the PSA cryptography configuration for the test library.
|
# Set the PSA cryptography configuration for the test library.
|
||||||
# It is set from the copied include/psa/crypto_config.h of the Mbed TLS
|
# It is set from the copied include/psa/crypto_config.h of the Mbed TLS
|
||||||
# library the test library is intended to be linked with extended by
|
# library the test library is intended to be linked with extended by
|
||||||
# ./include/test/drivers/crypto_config_test_driver_extension.h to
|
# ../framework/tests/include/test/drivers/crypto_config_test_driver_extension.h to
|
||||||
# mirror the PSA_ACCEL_* macros.
|
# mirror the PSA_ACCEL_* macros.
|
||||||
mv ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h.bak
|
mv ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h.bak
|
||||||
head -n -1 ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h.bak > ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h
|
head -n -1 ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h.bak > ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h
|
||||||
cat ./include/test/drivers/crypto_config_test_driver_extension.h >> ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h
|
cat ../framework/tests/include/test/drivers/crypto_config_test_driver_extension.h >> ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h
|
||||||
echo "#endif /* PSA_CRYPTO_CONFIG_H */" >> ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h
|
echo "#endif /* PSA_CRYPTO_CONFIG_H */" >> ./libtestdriver1/tf-psa-crypto/include/psa/crypto_config.h
|
||||||
|
|
||||||
# Prefix MBEDTLS_* PSA_* symbols with LIBTESTDRIVER1_ as well as
|
# Prefix MBEDTLS_* PSA_* symbols with LIBTESTDRIVER1_ as well as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user