Skip to content

Commit

Permalink
builddeb: Add automatic support for riscv* architectures
Browse files Browse the repository at this point in the history
Debian currently only defines "riscv64", but it seems safe to assume
that any 32-bit port will now be called "riscv32", also matching
$UTS_MACHINE.

Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
bwhacks authored and masahir0y committed Jul 28, 2018
1 parent 60ca40a commit 75ebcee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/mkdebian
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set_debarch() {

# Attempt to find the correct Debian architecture
case "$UTS_MACHINE" in
i386|ia64|alpha|m68k)
i386|ia64|alpha|m68k|riscv*)
debarch="$UTS_MACHINE" ;;
x86_64)
debarch=amd64 ;;
Expand Down

0 comments on commit 75ebcee

Please sign in to comment.