From 31ada58afd3a12c1cd5d72d97cf868f35a8ba243 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Wed, 9 Oct 2013 00:25:08 -0400 Subject: partially fix bug where synthesis continues after .ngc failure --- contrib/xilinx.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib') 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 -- cgit v1.2.3