aboutsummaryrefslogtreecommitdiff
path: root/build/xilinx.mk
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2019-01-22 19:39:09 -0500
committerPaul Selkirk <paul@psgd.org>2019-01-22 19:52:04 -0500
commita69ef3c13244c5269a1ad1a48fdc736493005975 (patch)
treef4724002906f3443d39bcb8ccab5275901ca8f9f /build/xilinx.mk
parent6134800a26c31595b648200195e188eebfa72dbb (diff)
Upon reflection, I prefer the way Pavel handled include paths in 8cd28d0fmc_clk
(which he only committed on fmc_clk, and I was only looking at master). But I moved the curly brackets from Makefile to xilinx.mk, because a) Makefile shouldn't need to know the picky details of xst option syntax, and b) xst will throw an uninformative error if called with '-vlgincdir ' versus '-vlgincdir {}', if vlgincdir isn't defined in Makefile.
Diffstat (limited to 'build/xilinx.mk')
-rw-r--r--build/xilinx.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/xilinx.mk b/build/xilinx.mk
index c88f00b..4bfefde 100644
--- a/build/xilinx.mk
+++ b/build/xilinx.mk
@@ -154,8 +154,8 @@ $(project).scr: $(optfile) $(mkfiles) ./xilinx.opt
echo "-top $(top_module)" >> $@
echo "-ifn $(project).prj" >> $@
echo "-ofn $(project).ngc" >> $@
+ echo "-vlgincdir {$(vlgincdir)}" >> $@
cat ./xilinx.opt $(optfile) >> $@
- echo "-vlgincdir $(vlgincdir)" >> $@
junk += $(project).scr
$(project).post_map.twr: $(project).ncd