Skip to content

Commit

Permalink
Correct toolchain PATH env (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanrong1992 authored Sep 17, 2021
1 parent dfd51b7 commit 0641bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions environment
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0641bf9

Please sign in to comment.