diff options
-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 |