DemesneGH commented on PR #245:
URL: 
https://github.com/apache/teaclave-trustzone-sdk/pull/245#issuecomment-3491735288

   The new commit:
   
   1. Read from Cargo.toml metadata: 
      - Enable reading build parameters from `[package.metadata.optee.*]` 
sections
      - Implement priority-based configuration: CLI arguments > metadata > 
default value
      - Update `supp_plugin-rs/*/Cargo.toml` files for demonstration
      - See updated `cargo-optee/README.md` for detailed usage instructions
   
   2. Custom build env var and features:
      - Allow users to specify custom environment variables and features
      - These options are automatically appended to `cargo build` commands
   
   The CI build script (`ci/build.sh`) passes successfully for the default 
aarch64 no-std configuration.
   
   ----
   How to use this tool:
   1. clone the code;
   2. build the cargo-optee:
   ```
   (cd cargo-optee && cargo build --release)
   # Optional: add to PATH for easier usage
   export PATH=/path/to/cargo-optee/target/release:$PATH
   ```
   4. run `cargo-optee --help` to show the help messages
   5. build the app: e.g. 
   ```
   # with metadata the app can be built without params
   cd examples/supp_plugin-rs/plugin && cargo-optee build plugin
   # without metadata, (if you don't want to change the directory, you can 
specify `--manifest-path` like the original cargo)
   cargo-optee build ta --manifest-path 
/teaclave/examples/hello_world-rs/ta/Cargo.toml   --ta-dev-kit-dir 
/teaclave/optee/optee_os/out/arm-plat-vexpress/export-ta_arm64
   ```
   
   At this stage, we’ll focus on user-facing functionality and bug fixes. 
Please feel free to try out the tool and share your feedback, thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to