aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-06-19 13:14:16 -0400
committerbryan newbold <bnewbold@leaflabs.com>2013-06-19 13:14:16 -0400
commit46cd0609866fff203be9a1fb9da60bb8100bd0aa (patch)
tree1717a2c8299611401412b0e5d73170f145217bbd
parent10199d449f4d20786af2e8abb303d65db98f7d30 (diff)
downloadbasic-hdl-template-46cd0609866fff203be9a1fb9da60bb8100bd0aa.zip
basic-hdl-template-46cd0609866fff203be9a1fb9da60bb8100bd0aa.tar.gz
don't re-coregen after every little Makefile tweak
-rw-r--r--README3
-rw-r--r--contrib/xilinx.mk2
2 files changed, 4 insertions, 1 deletions
diff --git a/README b/README
index 0ec8ecc..eddc25c 100644
--- a/README
+++ b/README
@@ -82,3 +82,6 @@ update the Makefile.
For any .xco files, strip the "Project Options" section and the final CRC line.
+After making any changes to the target chipset (eg, by modifying Makefile),
+you'll need to do a 'make clean' to ensure that the coregen logic is
+resynthesized correctly.
diff --git a/contrib/xilinx.mk b/contrib/xilinx.mk
index 253b91e..49cb052 100644
--- a/contrib/xilinx.mk
+++ b/contrib/xilinx.mk
@@ -80,7 +80,7 @@ $(2): $(1)
endef
$(foreach ngc,$(corengcs),$(eval $(call cp_template,$(ngc),$(notdir $(ngc)))))
-$(coregen_work_dir)/$(project).cgp: contrib/template.cgp $(mkfiles)
+$(coregen_work_dir)/$(project).cgp: contrib/template.cgp
@if [ -d $(coregen_work_dir) ]; then \
rm -rf $(coregen_work_dir)/*; \
else \