diff options
author | bryan newbold <bnewbold@leaflabs.com> | 2013-12-19 17:52:54 -0500 |
---|---|---|
committer | bryan newbold <bnewbold@leaflabs.com> | 2013-12-19 18:01:17 -0500 |
commit | 86efd8161eee99f148e299ec36a0cfda02f710d9 (patch) | |
tree | f5998606b875e4b10a59d903eca139f293227aa8 /contrib | |
parent | 28008c0463ce26ecd2243b5921ac37a511e3f910 (diff) | |
download | basic-hdl-template-86efd8161eee99f148e299ec36a0cfda02f710d9.tar.gz basic-hdl-template-86efd8161eee99f148e299ec36a0cfda02f710d9.zip |
buildsys: don't actually need to copy around .ngc's
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/xilinx.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/xilinx.mk b/contrib/xilinx.mk index 5473e01..0ad51ec 100644 --- a/contrib/xilinx.mk +++ b/contrib/xilinx.mk @@ -115,14 +115,13 @@ include $(libmks) xilinx_cores: $(corengcs) corengcs = $(foreach core,$(xilinx_cores),$(core:.xco=.ngc)) -local_corengcs = $(foreach ngc,$(corengcs),$(notdir $(ngc))) verilog_files += $(foreach core,$(xilinx_cores),$(core:.xco=.v)) tbmods = $(foreach tbm,$(tbfiles),unenclib.`basename $(tbm) .v`) define cp_template $(2): $(1) cp $(1) $(2) endef -$(foreach ngc,$(corengcs),$(eval $(call cp_template,$(ngc),$(notdir $(ngc))))) +$(foreach ngc,$(corengcs),$(eval $(call cp_template,$(ngc),build/$(notdir $(ngc))))) # Aliases twr_map: build/$(project)_post_map.twr @@ -227,7 +226,7 @@ build/$(project).ngd: build/$(project).ngc $(ucf_file) $(bmm_file) -sd ../cores -uc ../$(ucf_file) -aul $(colorize)" @if [ ! -f $@ ]; then false; fi -build/$(project).ngc: $(verilog_files) $(vhdl_files) $(local_corengcs) build/$(project).scr build/$(project).prj +build/$(project).ngc: $(verilog_files) $(vhdl_files) $(corengcs) build/$(project).scr build/$(project).prj @echo "HACK: Forcing re-build of .scr configuration file..." @bash -c "rm build/$(project).scr; make build/$(project).scr" # XST does not fail on error (!), so deleting the .ngc before building |