From 46cd0609866fff203be9a1fb9da60bb8100bd0aa Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Wed, 19 Jun 2013 13:14:16 -0400 Subject: don't re-coregen after every little Makefile tweak --- README | 3 +++ contrib/xilinx.mk | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3