chore: correct build script setting

This commit is contained in:
Gatsby Van
2024-12-25 15:45:49 +08:00
parent 250190baef
commit deb82441c6
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -7,7 +7,6 @@ ifeq ($(TARGET_PROJ), node)
BUILD_DIR := $(PROJECT)/build/node BUILD_DIR := $(PROJECT)/build/node
CONFIG_FILE := $(PROJECT)/config/node.json CONFIG_FILE := $(PROJECT)/config/node.json
else ifeq ($(TARGET_PROJ), ge) else ifeq ($(TARGET_PROJ), ge)
XILINX_VITIS_CLASSIC := y
BUILD_DIR := $(PROJECT)/build/ge BUILD_DIR := $(PROJECT)/build/ge
CONFIG_FILE := $(PROJECT)/config/ge.json CONFIG_FILE := $(PROJECT)/config/ge.json
else else
+3 -3
View File
@@ -5,7 +5,7 @@ set "tools_dir=%~dp0scripts\platform\%platform%"
:menu :menu
echo Please select the project needed to be built: echo Please select the project needed to be built:
echo 1. NODE Project (SDK 2019.1) echo 1. NODE Project (SDK 2019.1)
echo 2. GE Project (Vitis 2024.1) echo 2. GE Project (SDK 2019.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" (
@@ -15,8 +15,8 @@ if "%choice%"=="1" (
set "config=%~dp0config\node.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 ^(SDK 2019.1^)
set "platform_ver=2024.1" set "platform_ver=2019.1"
set "work_dir=%~dp0build\ge" set "work_dir=%~dp0build\ge"
set "config=%~dp0config\ge.json" set "config=%~dp0config\ge.json"
goto end goto end