aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-10-09 00:25:08 -0400
committerbryan newbold <bnewbold@leaflabs.com>2013-10-09 00:25:08 -0400
commit31ada58afd3a12c1cd5d72d97cf868f35a8ba243 (patch)
tree45682df52320cca5d10c77359223b76ffeaddc34 /contrib
parent471661de749521fb6f76358d3a62ad434d0c54fb (diff)
downloadbasic-hdl-template-31ada58afd3a12c1cd5d72d97cf868f35a8ba243.tar.gz
basic-hdl-template-31ada58afd3a12c1cd5d72d97cf868f35a8ba243.zip
partially fix bug where synthesis continues after .ngc failure
Diffstat (limited to 'contrib')
-rw-r--r--contrib/xilinx.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/xilinx.mk b/contrib/xilinx.mk
index d56b534..b14047c 100644
--- a/contrib/xilinx.mk
+++ b/contrib/xilinx.mk
@@ -159,6 +159,8 @@ build/$(project).ngd: build/$(project).ngc $(board).ucf $(board).bmm
build/$(project).ngc: $(verilog_files) $(local_corengcs) build/$(project).scr build/$(project).prj
@bash -c "rm build/$(project).scr; make build/$(project).scr"
@bash -c "$(xil_env); xst $(intstyle) -ifn $(project).scr $(colorize)"
+ @# need to check for success manually; TODO: doesn't work if pre-existed
+ @if [ ! -f build/$(project).ngc ]; then false; fi
build/$(project).prj: $(verilog_files)
@for src in $(verilog_files); do echo "verilog work ../$$src" >> $(project).tmpprj; done