Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct toolchain PATH env #44

Merged
merged 1 commit into from
Sep 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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