chore: refine directory structure
This commit is contained in:
@@ -5,11 +5,11 @@ TARGET_PROJ ?= node
|
||||
|
||||
ifeq ($(TARGET_PROJ), node)
|
||||
BUILD_DIR := $(PROJECT)/build/node
|
||||
CONFIG_FILE := $(PROJECT)/node_cfg.json
|
||||
CONFIG_FILE := $(PROJECT)/node_config.json
|
||||
else ifeq ($(TARGET_PROJ), ge)
|
||||
XILINX_VITIS_CLASSIC := y
|
||||
BUILD_DIR := $(PROJECT)/build/ge
|
||||
CONFIG_FILE := $(PROJECT)/ge_cfg.json
|
||||
CONFIG_FILE := $(PROJECT)/ge_config.json
|
||||
else
|
||||
$(error Unsupported target PROJECT: $(TARGET_PROJ))
|
||||
endif
|
||||
|
||||
@@ -12,13 +12,13 @@ if "%choice%"=="1" (
|
||||
echo Building NODE Project (SDK 2019.1)...
|
||||
set "platform_ver=2019.1"
|
||||
set "work_dir=%~dp0build\node"
|
||||
set "config=%~dp0node_cfg.json"
|
||||
set "config=%~dp0node_config.json"
|
||||
goto end
|
||||
) else if "%choice%"=="2" (
|
||||
echo Building GE Project (Vitis 2024.1)...
|
||||
set "platform_ver=2024.1"
|
||||
set "work_dir=%~dp0build\ge"
|
||||
set "config=%~dp0ge_cfg.json"
|
||||
set "config=%~dp0ge_config.json"
|
||||
goto end
|
||||
) else (
|
||||
echo Invalid choice. Please enter 1 or 2.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"project_name": "hsjl_ge",
|
||||
"version": "0.0.0",
|
||||
"hw_design": "hw_hsjl_ge_v0.0.0.xsa",
|
||||
"hw_design": "hw/hsjl_ge_v0.0.0.xsa",
|
||||
"apps": {
|
||||
"datalink": {
|
||||
"sources": ["src/*"],
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"project_name": "hsjl_node",
|
||||
"version": "0.0.0",
|
||||
"hw_design": "hw_hsjl_node_v0.0.0.hdf",
|
||||
"hw_design": "hw/hsjl_node_v0.0.0.hdf",
|
||||
"apps": {
|
||||
"datalink": {
|
||||
"sources": ["src/*"],
|
||||
Reference in New Issue
Block a user