This is an automated email from the ASF dual-hosted git repository. yuanz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git
commit 7f9c0c22bafd04a57c23d4488a086f58370bfbcb Author: Yuan Zhuang <[email protected]> AuthorDate: Fri Oct 18 18:04:37 2024 +0800 Update migrating-to-new-building-env.md Add "Current Structure" --- docs/migrating-to-new-building-env.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/migrating-to-new-building-env.md b/docs/migrating-to-new-building-env.md index 8b2cabc..3b79ba8 100644 --- a/docs/migrating-to-new-building-env.md +++ b/docs/migrating-to-new-building-env.md @@ -13,6 +13,39 @@ Note that the migration is mainly for building scripts to support both `no-std` and `std` building for TA, no need for modifying your application code. +### Current Structure + +We have retained almost the same structure as the original but removed +`ta_arm.lds` and `ta_aarch64.lds` from the directory structure. Besides +we have some modification on `ta/ta_static.rs`, `ta/build.rs` and all +`Makefile`s. (See the explanation in next part). + +For example the current `examples/acipher-rs/`: +``` +examples/acipher-rs/ +├── host +│ ├── Cargo.toml +│ ├── Makefile +│ └── src +│ └── main.rs +├── Makefile +├── proto +│ ├── build.rs +│ ├── Cargo.toml +│ └── src +│ └── lib.rs +├── ta +│ ├── build.rs +│ ├── Cargo.toml +│ ├── Makefile +│ ├── src +│ │ └── main.rs +│ ├── ta_static.rs +│ └── Xargo.toml +└── uuid.txt +``` + + ### Changes in Build Scripts 1. **TA linking script**: `ta_arm.lds` and `ta_aarch64.lds`. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
