Skip to content

Commit 78aec57

Browse files
component-configuration-crypto: Migrated build_psa_crypto_spm to cmake
Signed-off-by: Minos Galanakis <[email protected]>
1 parent 23df0bb commit 78aec57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/scripts/components-configuration-crypto.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ component_build_psa_crypto_spm () {
6969
# We can only compile, not link, since our test and sample programs
7070
# aren't equipped for the modified names used when MBEDTLS_PSA_CRYPTO_SPM
7171
# is active.
72-
$MAKE_COMMAND CC=gcc CFLAGS='-Werror -Wall -Wextra -I../framework/tests/include/spe' lib
7372

73+
CFLAGS="-I$PWD/framework/tests/include/spe" LDFLAGS="$ASAN_CFLAGS" cmake -D CMAKE_BUILD_TYPE:String=Release .
74+
cmake --build . --target lib
7475
# Check that if a symbol is renamed by crypto_spe.h, the non-renamed
7576
# version is not present.
7677
echo "Checking for renamed symbols in the library"

0 commit comments

Comments
 (0)