chore: fix typo
This commit is contained in:
@@ -9,36 +9,35 @@ echo 2. GE Project (Vitis 2024.1)
|
||||
set /p choice="Choose a project (1 or 2): "
|
||||
|
||||
if "%choice%"=="1" (
|
||||
echo Building NODE Project (SDK 2019.1)...
|
||||
echo Building NODE Project ^(SDK 2019.1^)
|
||||
set "platform_ver=2019.1"
|
||||
set "work_dir=%~dp0build\node"
|
||||
set "config=%~dp0node_config.json"
|
||||
set "config=%~dp0config\node.json"
|
||||
goto end
|
||||
) else if "%choice%"=="2" (
|
||||
echo Building GE Project (Vitis 2024.1)...
|
||||
echo Building GE Project ^(Vitis 2024.1^)
|
||||
set "platform_ver=2024.1"
|
||||
set "work_dir=%~dp0build\ge"
|
||||
set "config=%~dp0ge_config.json"
|
||||
set "config=%~dp0config\ge.json"
|
||||
goto end
|
||||
) else (
|
||||
echo Invalid choice. Please enter 1 or 2.
|
||||
goto menu
|
||||
)
|
||||
|
||||
:end
|
||||
echo Start Building....
|
||||
|
||||
echo Start Building
|
||||
echo Platform version: %platform_ver%
|
||||
echo Build directory: %work_dir%
|
||||
echo Configuration file: %config%
|
||||
pause
|
||||
|
||||
REM Change working dir to the dir where this script is located
|
||||
cd /d "%~dp0"
|
||||
|
||||
REM Set up enviroment
|
||||
call "%tools_dir%\setenv.bat" "%pltform_ver%"
|
||||
REM Set up environment
|
||||
call "%tools_dir%\setenv.bat" "%platform_ver%"
|
||||
if "%ERRORLEVEL%" neq "0" (
|
||||
echo Error: Failed to installize enviroment.
|
||||
echo Error: Failed to initialize environment.
|
||||
pause >nul
|
||||
exit /b 1
|
||||
)
|
||||
@@ -51,8 +50,8 @@ if "%ERRORLEVEL%" neq "0" (
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM Lauch SDK
|
||||
call "%tools_dir%\launch.bat" "%pltform_ver%" "%work_dir%"
|
||||
REM Launch SDK
|
||||
call "%tools_dir%\launch.bat" "%platform_ver%" "%work_dir%"
|
||||
if "%ERRORLEVEL%" neq "0" (
|
||||
echo Error: Failed to launch SDK.
|
||||
pause >nul
|
||||
|
||||
Reference in New Issue
Block a user