[Cryptech-Commits] [core/platform/alpha] 01/03: Added `include directories to Makefile

git at cryptech.is git at cryptech.is
Thu Dec 20 10:47:56 UTC 2018


This is an automated email from the git hooks/post-receive script.

meisterpaul1 at yandex.ru pushed a commit to branch fmc_clk
in repository core/platform/alpha.

commit 8cd28d0fc12f0671ae3af89209de52a159d8cf19
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Wed Dec 19 15:47:33 2018 +0300

    Added `include directories to Makefile
---
 build/Makefile  | 6 +++++-
 build/xilinx.mk | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/build/Makefile b/build/Makefile
index f573ace..5a6107d 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -16,7 +16,11 @@ part		= xc7a200tfbg484-1
 top_module	= alpha_fmc_top
 isedir		= /opt/Xilinx/14.7/ISE_DS
 xil_env		= . $(isedir)/settings$(WORD_SIZE).sh
-ucf		?= ../ucf/$(project).ucf
+ucf			?= ../ucf/$(project).ucf
+
+# verilog include directories {yes, XST wants them exactly this way in curly braces}
+vlgincdir	= {$(CORE_TREE)/lib/lowlevel $(CORE_TREE)/math/ecdsalib/rtl/microcode}
+
 
 all:	$(project).bit
 
diff --git a/build/xilinx.mk b/build/xilinx.mk
index 9af9366..c88f00b 100644
--- a/build/xilinx.mk
+++ b/build/xilinx.mk
@@ -155,6 +155,7 @@ $(project).scr: $(optfile) $(mkfiles) ./xilinx.opt
 	echo "-ifn $(project).prj" >> $@
 	echo "-ofn $(project).ngc" >> $@
 	cat ./xilinx.opt $(optfile) >> $@
+	echo "-vlgincdir $(vlgincdir)" >> $@
 junk += $(project).scr
 
 $(project).post_map.twr: $(project).ncd



More information about the Commits mailing list