Skip to content

Commit

Permalink
Update doxygen to build TF-PSA-Crypto in source tree
Browse files Browse the repository at this point in the history
This commit updates the doxygen scripts to build TF-PSA-Crypto in the
source directory rather than an out of source directory to simplify the
process.

Signed-off-by: Harry Ramsey <[email protected]>
  • Loading branch information
Harry-Ramsey committed Jan 30, 2025
1 parent a86eefa commit 59e9177
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions scripts/apidoc_full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ if in_mbedtls_repo; then
make apidoc
mv $CONFIG_BAK $CONFIG_H
elif in_tf_psa_crypto_repo; then
cd $OUT_OF_SOURCE_DIR
cmake -DCMAKE_BUILD_TYPE:String=Check -DGEN_FILES=ON "$TF_PSA_CRYPTO_ROOT_DIR"
cmake -DCMAKE_BUILD_TYPE:String=Check -DGEN_FILES=ON .
make tfpsacrypto-apidoc
mv $TF_PSA_CRYPTO_ROOT_DIR/$CONFIG_BAK $TF_PSA_CRYPTO_ROOT_DIR/$CONFIG_H
fi
3 changes: 0 additions & 3 deletions scripts/doxygen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ fi

if in_mbedtls_repo; then
make apidoc_clean
elif in_tf_psa_crypto_repo; then
cd $TF_PSA_CRYPTO_ROOT_DIR
rm -rf $OUT_OF_SOURCE_DIR
fi

rm -f doc.out doc.err doc.filtered

0 comments on commit 59e9177

Please sign in to comment.