Initial commit.
This commit is contained in:
23
fpga/u500vc707devkit/Makefile
Normal file
23
fpga/u500vc707devkit/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
VIVADO ?= vivado
|
||||
VIVADOFLAGS := \
|
||||
-nojournal -mode batch \
|
||||
-source script/board.tcl \
|
||||
-source script/prologue.tcl
|
||||
|
||||
bit := obj/system.bit
|
||||
$(bit): script/impl.tcl script/init.tcl
|
||||
VSRC_TOP=$(VSRC_TOP) VSRC_CONSTS=$(VSRC_CONSTS) EXTRA_VSRCS="$(EXTRA_VSRCS)" $(VIVADO) $(VIVADOFLAGS) -source script/init.tcl -source script/impl.tcl
|
||||
|
||||
.PHONY: bit
|
||||
bit: $(bit)
|
||||
|
||||
mcs := obj/system.mcs
|
||||
$(mcs): $(bit)
|
||||
$(VIVADO) $(VIVADOFLAGS) script/cfgmem.tcl -tclargs $@ $^
|
||||
|
||||
.PHONY: mcs
|
||||
mcs: $(mcs)
|
||||
|
||||
.PHONY: clean
|
||||
clean::
|
||||
rm -rf -- .Xil .ip_user_files *.os obj src/generated usage_statistics_webtalk.xml usage_statistics_webtalk.html *.log
|
Reference in New Issue
Block a user