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