You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/09/17 18:15:01 UTC
[incubator-teaclave-trustzone-sdk] branch master updated: Correct
toolchain PATH env (#44)
This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git
The following commit(s) were added to refs/heads/master by this push:
new 0641bf9 Correct toolchain PATH env (#44)
0641bf9 is described below
commit 0641bf99981e4f8f2827d09261f2f183b1ae1c2e
Author: BruceFan <fa...@baidu.com>
AuthorDate: Sat Sep 18 02:14:57 2021 +0800
Correct toolchain PATH env (#44)
---
environment | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/environment b/environment
index e47886d..3216d09 100644
--- a/environment
+++ b/environment
@@ -27,14 +27,14 @@ export OPTEE_CLIENT_INCLUDE="$OPTEE_DIR/optee_client/out/export/usr/include"
if [ "$ARCH" = "arm" ]
then
export ARCH="arm"
- export PATH=$PATH:$(pwd)/optee/toolchains/aarch32/bin
+ export PATH=$PATH:$OPTEE_DIR/toolchains/aarch32/bin
export VENDOR="qemu.mk"
export OPTEE_OS_INCLUDE="$OPTEE_DIR/optee_os/out/arm/export-ta_arm32/include"
export CC=$OPTEE_DIR/toolchains/aarch32/bin/arm-linux-gnueabihf-gcc
else
# export ARCH="aarch64" # comment this because currently optee_os cannot be compiled in the aarch64 target
unset ARCH
- export PATH=$PATH:$(pwd)/optee/toolchains/aarch64/bin
+ export PATH=$PATH:$OPTEE_DIR/toolchains/aarch64/bin
export VENDOR="qemu_v8.mk"
export OPTEE_OS_INCLUDE="$OPTEE_DIR/optee_os/out/arm/export-ta_arm64/include"
export CC=$OPTEE_DIR/toolchains/aarch64/bin/aarch64-linux-gnu-gcc
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org