Skip to content

Commit b5a1095

Browse files
Use cmake --build instead of make
Signed-off-by: Ronald Cron <[email protected]>
1 parent c07d90a commit b5a1095

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/apidoc_full.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ else
5050
cd doxygen/build-apidoc-full
5151
cmake -DCMAKE_BUILD_TYPE:String=Check -DGEN_FILES=ON $ROOT_DIR
5252
if in_mbedtls_repo; then
53-
make mbedtls-apidoc
53+
cmake --build . --target mbedtls-apidoc
5454
else
55-
make tfpsacrypto-apidoc
55+
cmake --build . --target tfpsacrypto-apidoc
5656
fi
5757
cd $ROOT_DIR
5858
# The documentation is built in the source tree thus we can delete the

scripts/check_names.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def parse_symbols(self):
810810
check=True
811811
)
812812
subprocess.run(
813-
["make"],
813+
["cmake", "--build", "."],
814814
env=my_environment,
815815
universal_newlines=True,
816816
stdout=subprocess.PIPE,
@@ -981,7 +981,7 @@ def parse_symbols(self):
981981
check=True
982982
)
983983
subprocess.run(
984-
["make"],
984+
["cmake", "--build", "."],
985985
env=my_environment,
986986
universal_newlines=True,
987987
stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)