diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2018-10-13 16:18:06 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-13 17:18:06 +0200 |
commit | e435dbd35e1bc6ae0ec7c348ae7f66ef7bc2eb88 (patch) | |
tree | 5fc133e6c23cbabe1d62558c1757148e8ea8d62d /tools | |
parent | e4c76f8a2a28701cf8dcc89f65a5c0f50943a0c7 (diff) | |
download | Nim-e435dbd35e1bc6ae0ec7c348ae7f66ef7bc2eb88.tar.gz |
Update makefile and buildsh templates for riscv64 (#9351)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/niminst/buildsh.tmpl | 2 | ||||
-rw-r--r-- | tools/niminst/makefile.tmpl | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/niminst/buildsh.tmpl b/tools/niminst/buildsh.tmpl index f0f72888a..acd58bda2 100644 --- a/tools/niminst/buildsh.tmpl +++ b/tools/niminst/buildsh.tmpl @@ -168,6 +168,8 @@ case $ucpu in mycpu="arm" ;; *aarch64* ) mycpu="arm64" ;; + *riscv64* ) + mycpu="riscv64" ;; *) echo 2>&1 "Error: unknown processor: $ucpu" exit 1 diff --git a/tools/niminst/makefile.tmpl b/tools/niminst/makefile.tmpl index 891333251..aadd0e94d 100644 --- a/tools/niminst/makefile.tmpl +++ b/tools/niminst/makefile.tmpl @@ -144,6 +144,9 @@ endif ifeq ($(ucpu),aarch64) mycpu = arm64 endif +ifeq ($(ucpu),riscv64) + mycpu = riscv64 +endif ifndef mycpu $(error unknown processor: $(ucpu)) endif |