From: Ben Hutchings Date: Thu, 26 Jul 2018 10:22:47 +0000 (+0100) Subject: builddeb: Add automatic support for riscv* architectures X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=75ebcee7699739c0f6c63abcb9f5754538107c62;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Masahiro Yamada --- diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index 470899fa3a8c..3ef2fd0c5086 100755 --- a/scripts/package/mkdebian +++ b/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 ;;