scripts/project-xilinx.mk: Update target to xsa and cleanup list

main
Laszlo Nagy 2021-08-31 13:29:41 +01:00 committed by Laszlo Nagy
parent 57546b853d
commit aaaba50f83
1 changed files with 4 additions and 2 deletions

View File

@ -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`; \