The main branch forks from no-std and the optional std support has been added upon it. After the main branch is ready we can set it as the default branch.
The main changes are:
To add std:
add setup_std_dependencies.sh for cloning Rust src
add target spec for aarch64-unknown-optee and arm-unknown-optee
optee-utee-sys and optee-utee: remove the default feature std
examples/*/ta/Makefile: using Xargo for building when STD env is set
Building system adjustment:
the no-std is default and the std mode can be enabled by $ export STD=y
setup env using $ source environment: users should set ARCH_HOST (default aarch64), ARCH_TA (default aarch64) and STD (default unset) before building
build_optee_libraries.sh builds libraries for both aarch64 and arm32
test scripts: read the current ARCH_HOST and ARCH_TA for fetching binaries
The
main
branch forks fromno-std
and the optionalstd
support has been added upon it. After themain
branch is ready we can set it as the default branch.The main changes are:
To add
std
:setup_std_dependencies.sh
for cloning Rust srcaarch64-unknown-optee
andarm-unknown-optee
optee-utee-sys
andoptee-utee
: remove the default featurestd
STD
env is setBuilding system adjustment:
no-std
is default and the std mode can be enabled by$ export STD=y
$ source environment
: users should setARCH_HOST
(default aarch64),ARCH_TA
(default aarch64) andSTD
(default unset) before buildingbuild_optee_libraries.sh
builds libraries for both aarch64 and arm32ARCH_HOST
andARCH_TA
for fetching binariesOther updates:
nightly-2024-05-15