Commit 75ebcee7 authored by Ben Hutchings's avatar Ben Hutchings Committed by Masahiro Yamada

builddeb: Add automatic support for riscv* architectures

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: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 60ca40a0
...@@ -26,7 +26,7 @@ set_debarch() { ...@@ -26,7 +26,7 @@ set_debarch() {
# Attempt to find the correct Debian architecture # Attempt to find the correct Debian architecture
case "$UTS_MACHINE" in case "$UTS_MACHINE" in
i386|ia64|alpha|m68k) i386|ia64|alpha|m68k|riscv*)
debarch="$UTS_MACHINE" ;; debarch="$UTS_MACHINE" ;;
x86_64) x86_64)
debarch=amd64 ;; debarch=amd64 ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment