File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed
Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change 11
2- @ set def_arch = arm
2+ @ set def_arch = riscv64
33
4- @ if not " %1 " == " " (
5- @ set def_arch = %1
6- )
4+ pushd %RTT_ENV_URL% \..\..
5+ set RTT_ENV_ROOT = %cd%
6+ popd
77
8- @ if %def_arch% == arm (
9- @ set RTT_CC = gcc
10- @ set RTT_EXEC_PATH = %cd% \tools\gnu_gcc\arm-linux-musleabi_for_i686-w64-mingw32\bin
11- @ set RTT_CC_PREFIX = arm-linux-musleabi-
12- @ copy configs\def_config_arm .config
13- ) else if %def_arch% == riscv64 (
14- @ set RTT_CC = gcc
15- @ set RTT_EXEC_PATH = E:\workspace\rt-smart\userapps\tools\gnu_gcc\riscv64-linux-musleabi_for_i686-w64-mingw32\bin
16- @ set RTT_CC_PREFIX = riscv64-unknown-linux-musl-
17- @ copy configs\def_config_riscv64 .config
18- ) else (
19- @ echo " ERROR:supported_arch=arm riscv64!"
20- @ goto EXIT
21- )
8+ @ set RTT_CC = gcc
9+ @ set RTT_EXEC_PATH = %RTT_ENV_ROOT% \tools\gnu_gcc\riscv64-linux-musleabi_for_i686-w64-mingw32\bin
10+ @ set RTT_CC_PREFIX = riscv64-linux-musleabi-
2211
2312@ set PATH = %RTT_EXEC_PATH% ;%PATH%
2413
You can’t perform that action at this time.
0 commit comments