From aaaba50f838be93eff00bf5bed4f8870dd29345e Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Tue, 31 Aug 2021 13:29:41 +0100 Subject: [PATCH] scripts/project-xilinx.mk: Update target to xsa and cleanup list --- projects/scripts/project-xilinx.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/scripts/project-xilinx.mk b/projects/scripts/project-xilinx.mk index 611da2435..3a013ad72 100644 --- a/projects/scripts/project-xilinx.mk +++ b/projects/scripts/project-xilinx.mk @@ -29,6 +29,8 @@ CLEAN_TARGET += mem_init_sys.txt CLEAN_TARGET += *.csv CLEAN_TARGET += *.hbs CLEAN_TARGET += *.gen +CLEAN_TARGET += *.xpe +CLEAN_TARGET += *.xsa # Common dependencies that all projects have M_DEPS += system_project.tcl @@ -42,7 +44,7 @@ M_DEPS += $(HDL_PROJECT_PATH)scripts/adi_board.tcl M_DEPS += $(foreach dep,$(LIB_DEPS),$(HDL_LIBRARY_PATH)$(dep)/component.xml) .PHONY: all lib clean clean-all -all: lib $(PROJECT_NAME).sdk/system_top.hdf +all: lib $(PROJECT_NAME).sdk/system_top.xsa clean: -rm -f reference.dcp @@ -57,7 +59,7 @@ clean-all: clean MODE ?= "default" -$(PROJECT_NAME).sdk/system_top.hdf: $(M_DEPS) +$(PROJECT_NAME).sdk/system_top.xsa: $(M_DEPS) @if [ $(MODE) = incr ]; then \ if [ -f */impl_1/system_top_routed.dcp ]; then \ echo Found previous run result at `ls */impl_1/system_top_routed.dcp`; \