diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2018-07-26 11:22:47 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-28 10:53:44 +0900 |
commit | 75ebcee7699739c0f6c63abcb9f5754538107c62 (patch) | |
tree | fd0c16bfbe6ff2616796462b823d3a5bdc68c8e1 | |
parent | 60ca40a0649b462c7b398c6c603433faa0f56e26 (diff) | |
download | linux-75ebcee7699739c0f6c63abcb9f5754538107c62.tar.gz linux-75ebcee7699739c0f6c63abcb9f5754538107c62.tar.bz2 linux-75ebcee7699739c0f6c63abcb9f5754538107c62.zip |
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>
-rwxr-xr-x | scripts/package/mkdebian | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;; |