Skip to content

Commit 3262864

Browse files
Merge pull request #95 from valeriosetti/issue69-framework
Move "easy" basic checks scripts to the framework PR validated by the CI of Mbed-TLS/mbedtls#9825 and Mbed-TLS/mbedtls#9826. The files moved are not used yet in TF-PSA-Crypto thus no impact there. Merging.
2 parents 81dfe00 + ee3cbf5 commit 3262864

File tree

6 files changed

+776
-0
lines changed

6 files changed

+776
-0
lines changed

scripts/apidoc_full.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/sh
2+
3+
# Generate doxygen documentation with a full mbedtls_config.h (this ensures that every
4+
# available flag is documented, and avoids warnings about documentation
5+
# without a corresponding #define).
6+
#
7+
# /!\ This must not be a Makefile target, as it would create a race condition
8+
# when multiple targets are invoked in the same parallel build.
9+
#
10+
# Copyright The Mbed TLS Contributors
11+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
12+
13+
set -eu
14+
15+
CONFIG_H='include/mbedtls/mbedtls_config.h'
16+
17+
if [ -r $CONFIG_H ]; then :; else
18+
echo "$CONFIG_H not found" >&2
19+
exit 1
20+
fi
21+
22+
CONFIG_BAK=${CONFIG_H}.bak
23+
cp -p $CONFIG_H $CONFIG_BAK
24+
25+
scripts/config.py realfull
26+
make apidoc
27+
28+
mv $CONFIG_BAK $CONFIG_H

0 commit comments

Comments
 (0)