Skip to content

Commit 0578f82

Browse files
committed
fix riscv64 issue and remove i386
1 parent 99a0aee commit 0578f82

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

smart-env.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
# source smart-env.sh [arch]
55
# example: source smart-env.sh # arm
66
# example: source smart-env.sh aarch64 # aarch64
7+
# example: source smart-env.sh riscv64 # riscv64
78

89
# supported arch list
9-
supported_arch=(arm aarch64 riscv64 i386)
10+
supported_arch="arm aarch64 riscv64"
1011

1112
def_arch="unknown"
1213

@@ -47,11 +48,6 @@ case $def_arch in
4748
export RTT_CC_PREFIX=riscv64-unknown-linux-musl-
4849
cp $SHELL_FOLDER/configs/def_config_riscv64 $SHELL_FOLDER/.config
4950
;;
50-
"i386")
51-
export RTT_CC=gcc
52-
export RTT_EXEC_PATH=$(pwd)/tools/gnu_gcc/i386-linux-musleabi_for_x86_64-pc-linux-gnu/bin
53-
export RTT_CC_PREFIX=i386-unknown-linux-musl-
54-
;;
5551
*) echo "unknown arch!"
5652
return 1
5753
esac

0 commit comments

Comments
 (0)