aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2020-02-18 19:50:06 -0500
committerPaul Selkirk <paul@psgd.org>2020-02-18 19:50:06 -0500
commit7287778d11c63b9c97f7aa01993bb17a76b058a6 (patch)
tree3e66ac3739bb6c09e5b32ea60d832191cf06efc7
parentab23f87e78f441830587c6c82d90e35b4cec7d29 (diff)
add support for modexpngmodexpng
-rw-r--r--build/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/Makefile b/build/Makefile
index ca5d735..92414de 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -20,7 +20,8 @@ ucf ?= ../ucf/$(project).ucf
# Verilog include directories, if needed
-vlgincdir = $(CORE_TREE)/lib/lowlevel $(CORE_TREE)/math/ecdsalib/rtl/microcode
+MODEXPNG = ../../../../user/shatov/modexpng/rtl
+vlgincdir = $(CORE_TREE)/lib/lowlevel $(CORE_TREE)/math/ecdsalib/rtl/microcode $(MODEXPNG) $(CORE_TREE)/lib/util
all: $(project).bit
@@ -36,7 +37,7 @@ core_selector.v core_vfiles.mk:
# Build some different configurations
-bare trng hash mkmif rsa hsm hsm-super:
+bare trng hash mkmif rsa hsm hsm-super modexpng hsm-modexpng:
$(CONFIG_GEN) -p $@
$(MAKE) project=$(project)_$@ ucf=$(ucf)