瀏覽代碼

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: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Ben Hutchings 7 年之前
父節點
當前提交
75ebcee769
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/package/mkdebian

+ 1 - 1
scripts/package/mkdebian

@@ -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 ;;