chore: refine directory structure

This commit is contained in:
Gatsby Van
2024-11-04 19:55:29 +08:00
parent 1e44e8ea8b
commit 029689ea6f
6 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -5,11 +5,11 @@ TARGET_PROJ ?= node
ifeq ($(TARGET_PROJ), node) ifeq ($(TARGET_PROJ), node)
BUILD_DIR := $(PROJECT)/build/node BUILD_DIR := $(PROJECT)/build/node
CONFIG_FILE := $(PROJECT)/node_cfg.json CONFIG_FILE := $(PROJECT)/node_config.json
else ifeq ($(TARGET_PROJ), ge) else ifeq ($(TARGET_PROJ), ge)
XILINX_VITIS_CLASSIC := y XILINX_VITIS_CLASSIC := y
BUILD_DIR := $(PROJECT)/build/ge BUILD_DIR := $(PROJECT)/build/ge
CONFIG_FILE := $(PROJECT)/ge_cfg.json CONFIG_FILE := $(PROJECT)/ge_config.json
else else
$(error Unsupported target PROJECT: $(TARGET_PROJ)) $(error Unsupported target PROJECT: $(TARGET_PROJ))
endif endif
+2 -2
View File
@@ -12,13 +12,13 @@ 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_cfg.json" set "config=%~dp0node_config.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_cfg.json" set "config=%~dp0ge_config.json"
goto end goto end
) else ( ) else (
echo Invalid choice. Please enter 1 or 2. echo Invalid choice. Please enter 1 or 2.
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"project_name": "hsjl_ge", "project_name": "hsjl_ge",
"version": "0.0.0", "version": "0.0.0",
"hw_design": "hw_hsjl_ge_v0.0.0.xsa", "hw_design": "hw/hsjl_ge_v0.0.0.xsa",
"apps": { "apps": {
"datalink": { "datalink": {
"sources": ["src/*"], "sources": ["src/*"],
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"project_name": "hsjl_node", "project_name": "hsjl_node",
"version": "0.0.0", "version": "0.0.0",
"hw_design": "hw_hsjl_node_v0.0.0.hdf", "hw_design": "hw/hsjl_node_v0.0.0.hdf",
"apps": { "apps": {
"datalink": { "datalink": {
"sources": ["src/*"], "sources": ["src/*"],