Skip to content

Commit

Permalink
Support cosa build on RISCV64
Browse files Browse the repository at this point in the history
This is all we need to unblock `cosa build` on RISCV64. Obviously, this
is far from complete support for the platform, but it allows developers
to experiment with cosa on that arch.
  • Loading branch information
warhawk3407 authored and jlebon committed Sep 11, 2023
1 parent d15ab92 commit 49b5319
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ case $arch in
"ppc64le") DEFAULT_TERMINAL="hvc0" ;;
"aarch64") DEFAULT_TERMINAL="ttyAMA0" ;;
"s390x") DEFAULT_TERMINAL="ttysclp0" ;;
# minimal support; the rest of cosa isn't yet riscv64-aware
"riscv64") DEFAULT_TERMINAL="ttyS0" ;;
*) fatal "Architecture ${arch} not supported"
esac
export DEFAULT_TERMINAL
Expand Down

0 comments on commit 49b5319

Please sign in to comment.