用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
817 B

@set def_arch=arm
@if not "%1"=="" (
@set def_arch=%1
)
@if %def_arch%==arm (
@set RTT_CC=gcc
@set RTT_EXEC_PATH=%cd%\tools\gnu_gcc\arm-linux-musleabi_for_i686-w64-mingw32\bin
@set RTT_CC_PREFIX=arm-linux-musleabi-
@copy configs\def_config_arm .config
) else if %def_arch%==riscv64 (
@set RTT_CC=gcc
@set RTT_EXEC_PATH=E:\workspace\rt-smart\userapps\tools\gnu_gcc\riscv64-linux-musleabi_for_i686-w64-mingw32\bin
@set RTT_CC_PREFIX=riscv64-unknown-linux-musl-
@copy configs\def_config_riscv64 .config
) else (
@echo "ERROR:supported_arch=arm riscv64!"
@goto EXIT
)
@set PATH=%RTT_EXEC_PATH%;%PATH%
@echo "Arch => %def_arch%"
@echo "CC => %RTT_CC%"
@echo "PREFIX => %RTT_CC_PREFIX%"
@echo "EXEC_PATH => %RTT_EXEC_PATH%"
:EXIT