scripts/project-xilinx.mk: Update target to xsa and cleanup list
parent
57546b853d
commit
aaaba50f83
|
@ -29,6 +29,8 @@ CLEAN_TARGET += mem_init_sys.txt
|
||||||
CLEAN_TARGET += *.csv
|
CLEAN_TARGET += *.csv
|
||||||
CLEAN_TARGET += *.hbs
|
CLEAN_TARGET += *.hbs
|
||||||
CLEAN_TARGET += *.gen
|
CLEAN_TARGET += *.gen
|
||||||
|
CLEAN_TARGET += *.xpe
|
||||||
|
CLEAN_TARGET += *.xsa
|
||||||
|
|
||||||
# Common dependencies that all projects have
|
# Common dependencies that all projects have
|
||||||
M_DEPS += system_project.tcl
|
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)
|
M_DEPS += $(foreach dep,$(LIB_DEPS),$(HDL_LIBRARY_PATH)$(dep)/component.xml)
|
||||||
|
|
||||||
.PHONY: all lib clean clean-all
|
.PHONY: all lib clean clean-all
|
||||||
all: lib $(PROJECT_NAME).sdk/system_top.hdf
|
all: lib $(PROJECT_NAME).sdk/system_top.xsa
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f reference.dcp
|
-rm -f reference.dcp
|
||||||
|
@ -57,7 +59,7 @@ clean-all: clean
|
||||||
|
|
||||||
MODE ?= "default"
|
MODE ?= "default"
|
||||||
|
|
||||||
$(PROJECT_NAME).sdk/system_top.hdf: $(M_DEPS)
|
$(PROJECT_NAME).sdk/system_top.xsa: $(M_DEPS)
|
||||||
@if [ $(MODE) = incr ]; then \
|
@if [ $(MODE) = incr ]; then \
|
||||||
if [ -f */impl_1/system_top_routed.dcp ]; then \
|
if [ -f */impl_1/system_top_routed.dcp ]; then \
|
||||||
echo Found previous run result at `ls */impl_1/system_top_routed.dcp`; \
|
echo Found previous run result at `ls */impl_1/system_top_routed.dcp`; \
|
||||||
|
|
Loading…
Reference in New Issue