Update makefile and buildsh templates for riscv64 (#9351)
This commit is contained in:
parent
e4c76f8a2a
commit
e435dbd35e
2 changed files with 5 additions and 0 deletions
|
|
@ -168,6 +168,8 @@ case $ucpu in
|
||||||
mycpu="arm" ;;
|
mycpu="arm" ;;
|
||||||
*aarch64* )
|
*aarch64* )
|
||||||
mycpu="arm64" ;;
|
mycpu="arm64" ;;
|
||||||
|
*riscv64* )
|
||||||
|
mycpu="riscv64" ;;
|
||||||
*)
|
*)
|
||||||
echo 2>&1 "Error: unknown processor: $ucpu"
|
echo 2>&1 "Error: unknown processor: $ucpu"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
|
|
@ -144,6 +144,9 @@ endif
|
||||||
ifeq ($(ucpu),aarch64)
|
ifeq ($(ucpu),aarch64)
|
||||||
mycpu = arm64
|
mycpu = arm64
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ucpu),riscv64)
|
||||||
|
mycpu = riscv64
|
||||||
|
endif
|
||||||
ifndef mycpu
|
ifndef mycpu
|
||||||
$(error unknown processor: $(ucpu))
|
$(error unknown processor: $(ucpu))
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue