Skip to content
Permalink
Browse files
Add risv64 support. Patch provided by Bo YU.
  • Loading branch information
markt-asf committed May 4, 2022
1 parent 4b1332a commit 5a1edfa101e85b1bf5fd1ea8571a2f173cea3e9f
Showing 1 changed file with 5 additions and 0 deletions.
@@ -181,6 +181,11 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
HOST_CPU=aarch64
;;
riscv64)
CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
supported_os="riscv64"
HOST_CPU=riscv64
;;
*)
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;

0 comments on commit 5a1edfa

Please sign in to comment.