diff options
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | contrib/xilinx.mk | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 \ |