• Home
Name Date Size #Lines LOC

..--

README.mdD22-Oct-2025737 2419

README_zh.mdD22-Oct-2025672 2319

common.mkD22-Oct-20251.9 KiB4828

common_flags.mkD22-Oct-20251.7 KiB5233

common_gcc.mkD22-Oct-2025775 229

common_llvm.mkD22-Oct-2025801 2511

security_features.mkD22-Oct-2025725 207

README.md

1# make<a name="EN_US_TOPIC_0000001078026808"></a>
2
3## Introduction
4
5SDK support using both LLVM and GCC toolchain to build Trusted Application.
6
7before building Trusted Application please install target toolchain, and add the toolchain path to system environment.<br>
8for example:<br>
9```
10export PATH=$PATH:"/path/to/toolchains/clang+llvm/bin/"
11```
12or
13```
14export PATH=$PATH:"/path/to/gcc-linaro-aarch64-linux-gnu/bin/"
15```
16
17we suggust to use LLVM as it support more security compile options, in this SDK it assume LLVM is used by default.
18
19if you need to use GCC to build your Trusted Application,
20please add CONFIG_GCC to your system environment before build your Trusted Application.<br>
21using command:<br>
22```
23export CONFIG_GCC=y
24```

README_zh.md

1# make<a name="ZH-CN_TOPIC_0000001078026808"></a>
2
3## 说明
4SDK支持使用LLVM和GCC工具链构建可信应用程序。
5
6在构建可信应用程序之前,请安装工具链,并将工具链路径添加到系统环境中。.<br>
7例如:<br>
8```
9export PATH=$PATH:"/path/to/toolchains/clang+llvm/bin/"
10```
11或者
12```
13export PATH=$PATH:"/path/to/gcc-linaro-aarch64-linux-gnu/bin/"
14```
15
16建议使用LLVM,因为它支持更多的安全编译选项,在此SDK中,默认使用LLVM。
17
18如果需要使用GCC来构建可信应用程序,<br>
19请在构建可信应用程序之前将CONFIG_GCC添加到系统环境中。<br>
20使用命令:<br>
21```
22export CONFIG_GCC=y
23```