aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-12-21 04:39:36 -0500
committerRob Austein <sra@hactrn.net>2015-12-21 04:39:36 -0500
commit8daafcd56cb16324af5f1cc06304f343f6b3627a (patch)
treef32615d750a74bad7eda529098809f2813677eb7 /core
parent07682854f37e4953e2f8bf0ba093ce95ffd4695a (diff)
Clean up awful patch kludge and pull in updated sw/libhal/.gitignore
so automated build won't leave a mess.
Diffstat (limited to 'core')
-rw-r--r--core/Makefile7
-rw-r--r--core/patches/01-config-cores.patch27
2 files changed, 0 insertions, 34 deletions
diff --git a/core/Makefile b/core/Makefile
index b6dc3ff..1866dd1 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -37,15 +37,8 @@ BUILD_DIR := platform/novena/eim/build
WORD_SIZE := $(shell python -c 'from struct import pack; print len(pack("L", 0)) * 8')
-# This business of patching files that are under revision control
-# because we can't be bothered to generate a proper configuration file
-# is kind of nasty.
-
all:
- patch -p1 --forward <patches/01-config-cores.patch
- touch platform/novena/common/rtl/ipcore/clkmgr_dcm.v
cd ${BUILD_DIR}; $(MAKE) xil_env='. $$(isedir)/settings${WORD_SIZE}.sh'
- patch -p1 --reverse <patches/01-config-cores.patch
clean:
cd ${BUILD_DIR}; $(MAKE) clean
diff --git a/core/patches/01-config-cores.patch b/core/patches/01-config-cores.patch
deleted file mode 100644
index 245e8a3..0000000
--- a/core/patches/01-config-cores.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: configure core selectors for cryptech dnssec signer
-
---- core/platform/common/core_selector/src/rtl/cipher_selector.v~
-+++ core/platform/common/core_selector/src/rtl/cipher_selector.v
-@@ -67,7 +67,7 @@ module cipher_selector
- //----------------------------------------------------------------
- // Comment following lines to exclude cores from implementation.
- `define USE_CORE_AES
-- `define USE_CORE_CHACHA
-+// `define USE_CORE_CHACHA
-
-
- //----------------------------------------------------------------
---- core/platform/common/core_selector/src/rtl/hash_selector.v~
-+++ core/platform/common/core_selector/src/rtl/hash_selector.v
-@@ -125,9 +125,9 @@ XXX move to `define in wrapper core??
- // List of Available Cores
- //----------------------------------------------------------------
- // Comment following lines to exclude cores from implementation.
-- `define USE_CORE_SHA1
-+// `define USE_CORE_SHA1
- `define USE_CORE_SHA256
-- `define USE_CORE_SHA512
-+// `define USE_CORE_SHA512
-
-
- //----------------------------------------------------------------