1Trusty TEE Application SDK
2==========================
3
4This SDK provides the necessary libraries, headers, and toolchain for building
5Trusty applications for integration into the Trusty TEE.
6
7The Trusty API reference is available on [our website](https://source.android.com/security/trusty/trusty-ref).
8
9This SDK is currently in flux and no stability guarantees are currently
10provided. Future versions may add, remove, or change APIs.
11
12
13SDK structure
14-------------
15
16- `make`
17  - `$ARCH/trusty_sdk.mk`
18    Makefile suitable for including into an existing build system. Sets up the
19    `CC`, `CXX`, `LD`, `CFLAGS`, `CXXFLAGS`, `ASMFLAGS`, and `LDFLAGS` variables
20    with appropriate values for building Trusty apps. Includes the function
21    `add-trusty-library` that adds the needed flags to compile and link against a
22    particular SDK library. See header comments in this file for more details.
23  - `$ARCH/lib....mk`
24    Library-specific makefiles that append necessary compile and link flags to
25    use that library. Should be used via `add-trusty-library` if using make.
26- `sysroots`
27  - `$ARCH`
28    Sysroot containing the userspace libraries and headers for the corresponding
29    architecture.
30- `clang-version`
31  Version information for the clang toolchain used to compile the SDK and
32    corresponding version of the Trusty kernel. This toolchain must be used to
33    build apps in order to be compatible with this SDK.
34- `toolchain`
35  Optionally included if the SDK was built with `--archive-toolchain`.
36  - `clang`
37    Symbolic link to the clang directory used to compile the SDK.
38  - `clang-r...`
39    The specific clang toolchain used to compile the SDK.
40