chore: refine common commands
This commit is contained in:
@@ -8,7 +8,7 @@ define tcl_util
|
||||
endef
|
||||
|
||||
xilinx_sdkopen:
|
||||
@$(call print,Launching IDE...)
|
||||
@$(call log,Launching IDE...)
|
||||
@if [ "$(call check_command,vitis)" = "y" ]; then \
|
||||
if [ "$(XILINX_VITIS_CLASSIC)" = "y" ]; then \
|
||||
vitis -classic -workspace=$(BUILD_DIR); \
|
||||
@@ -23,12 +23,11 @@ xilinx_sdkopen:
|
||||
|
||||
PHONY += xilinx_sdkbuild
|
||||
xilinx_sdkbuild:
|
||||
@$(call print,[Build] SDK projects in $(BUILD_DIR))
|
||||
@$(call log,[Build] SDK projects in $(BUILD_DIR))
|
||||
$(call tcl_util, build) $(HIDE)
|
||||
|
||||
PHONY += xilinx_sdkclean
|
||||
xilinx_sdkclean:
|
||||
@$(call print,[Delete] SDK artefacts from $(BUILD_DIR))
|
||||
@$(call log,[Delete] SDK artefacts from $(BUILD_DIR))
|
||||
$(call tcl_util, clean_project) $(HIDE)
|
||||
|
||||
xilinx_project:
|
||||
@@ -37,4 +36,4 @@ xilinx_project:
|
||||
$(call tcl_util, create_project) $(HIDE)
|
||||
|
||||
xilinx_reset:
|
||||
$(call remove_dir,.Xil) $(HIDE)
|
||||
$(call cmd_remove,.Xil) $(HIDE)
|
||||
Reference in New Issue
Block a user