Skip to content

Commit b507486

Browse files
committed
Update TF-PSA-Crypto check generated files component to use CMake
This commit updates to use CMake as TF-PSA-Crypto will only use CMake. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
1 parent 2e849f1 commit b507486

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
component_tf_psa_crypto_check_generated_files () {
2-
msg "Check: check-generated-files, files generated with make" # 2s
3-
make generated_files
2+
msg "Check: check-generated-files, files generated with cmake" # 2s
3+
cmake -D CMAKE_BUILD_TYPE:String=Check -D GEN_FILES "$TF_PSA_CRYPTO_ROOT_DIR"
44
../tests/scripts/check-generated-files.sh
55

66
msg "Check: check-generated-files -u, files present" # 2s
77
tests/scripts/check-generated-files.sh -u
88
# Check that the generated files are considered up to date.
99
../tests/scripts/check-generated-files.sh
1010

11-
msg "Check: check-generated-files -u, files absent" # 2s
12-
command make neat
13-
../tests/scripts/check-generated-files.sh -u
14-
# Check that the generated files are considered up to date.
15-
../tests/scripts/check-generated-files.sh
16-
1711
# This component ends with the generated files present in the source tree.
1812
# This is necessary for subsequent components!
1913
}

0 commit comments

Comments
 (0)