初始提交:terminalX 可运行态(M0/M1/M1.5 已真机验证)
- M0: libghostty SSH 终端(渲染/输入/连接)+ 白屏修复(OutputGate) + 会话状态机/自动重连 - M1: tsnet 用户态组网 + SSH-over-tsnet(fd 桥),shell 级真机验证;R5(Go+gvisor+C+++Swift 同进程) retire - M1.5: tmux -CC 原生 tab(MVP) - 结构: packages/(TXCore·TXTransport), apps/TerminalX, vendor/(libghostty-spm/libssh2/mbedtls/tsnet-bridge), artifacts/ - 文档: CLAUDE.md + docs/HANDOFF.md(新会话入口) - 环境: 认证代理→依赖 vendor 本地化;Go 在 ~/.local/go;仅模拟器/未签名 - 待续: M2 mosh, tmux 多 pane, M4 安全(host key/SE) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
69
vendor/mbedtls/framework/scripts/apidoc_full.sh
vendored
Executable file
69
vendor/mbedtls/framework/scripts/apidoc_full.sh
vendored
Executable file
@@ -0,0 +1,69 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Generate doxygen documentation with a full mbedtls_config.h (this ensures that every
|
||||
# available flag is documented, and avoids warnings about documentation
|
||||
# without a corresponding #define).
|
||||
#
|
||||
# /!\ This must not be a Makefile target, as it would create a race condition
|
||||
# when multiple targets are invoked in the same parallel build.
|
||||
#
|
||||
# Copyright The Mbed TLS Contributors
|
||||
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||
|
||||
set -eu
|
||||
|
||||
. $(dirname "$0")/project_detection.sh
|
||||
|
||||
if in_mbedtls_repo; then
|
||||
CONFIG_H='include/mbedtls/mbedtls_config.h'
|
||||
if [ -r $CONFIG_H ]; then :; else
|
||||
echo "$CONFIG_H not found" >&2
|
||||
fi
|
||||
if ! in_3_6_branch; then
|
||||
CRYPTO_CONFIG_H='tf-psa-crypto/include/psa/crypto_config.h'
|
||||
fi
|
||||
CONFIG_BAK=${CONFIG_H}.bak
|
||||
cp -p $CONFIG_H $CONFIG_BAK
|
||||
fi
|
||||
|
||||
if in_tf_psa_crypto_repo; then
|
||||
CRYPTO_CONFIG_H='include/psa/crypto_config.h'
|
||||
fi
|
||||
|
||||
if in_tf_psa_crypto_repo || (in_mbedtls_repo && ! in_3_6_branch); then
|
||||
if [ -r $CRYPTO_CONFIG_H ]; then :; else
|
||||
echo "$CRYPTO_CONFIG_H not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
CRYPTO_CONFIG_BAK=${CRYPTO_CONFIG_H}.bak
|
||||
cp -p $CRYPTO_CONFIG_H $CRYPTO_CONFIG_BAK
|
||||
fi
|
||||
|
||||
if in_mbedtls_repo && in_3_6_branch; then
|
||||
scripts/config.py realfull
|
||||
make apidoc
|
||||
else
|
||||
scripts/config.py realfull
|
||||
ROOT_DIR=$PWD
|
||||
rm -rf doxygen/build-apidoc-full
|
||||
mkdir doxygen/build-apidoc-full
|
||||
cd doxygen/build-apidoc-full
|
||||
cmake -DCMAKE_BUILD_TYPE:String=Check -DGEN_FILES=ON $ROOT_DIR
|
||||
if in_mbedtls_repo; then
|
||||
cmake --build . --target mbedtls-apidoc
|
||||
else
|
||||
cmake --build . --target tfpsacrypto-apidoc
|
||||
fi
|
||||
cd $ROOT_DIR
|
||||
# The documentation is built in the source tree thus we can delete the
|
||||
# build tree.
|
||||
rm -rf doxygen/build-apidoc-full
|
||||
fi
|
||||
|
||||
if in_mbedtls_repo; then
|
||||
mv $CONFIG_BAK $CONFIG_H
|
||||
fi
|
||||
|
||||
if in_tf_psa_crypto_repo || (in_mbedtls_repo && ! in_3_6_branch); then
|
||||
mv $CRYPTO_CONFIG_BAK $CRYPTO_CONFIG_H
|
||||
fi
|
||||
Reference in New Issue
Block a user