chore: refine common commands

This commit is contained in:
Gatsby
2025-05-09 22:22:40 +08:00
parent 751071d670
commit 698e123a26
2 changed files with 35 additions and 43 deletions
+4 -5
View File
@@ -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)