From: Ben Hutchings Date: Thu, 26 Jul 2018 10:22:20 +0000 (+0100) Subject: builddeb: Add automatic support for mips{,64}r6{,el} architectures X-Git-Tag: for-linus-20180825~93^2~13 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=679caaf3f79f0adad3b6b6b02539b868a963f46d;p=linux-block.git builddeb: Add automatic support for mips{,64}r6{,el} architectures MIPS R6 is not fully backward-compatible, so Debian has separate architecture names for userland built for R6. Label kernel packages accordingly. Signed-off-by: Ben Hutchings Signed-off-by: Masahiro Yamada --- diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index 350724cdc5af..595482923844 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian @@ -45,7 +45,9 @@ set_debarch() { debarch=hppa ;; mips*) if is_enabled CPU_LITTLE_ENDIAN; then - debarch=mips$(if_enabled_echo 64BIT 64)el + debarch=mips$(if_enabled_echo 64BIT 64)$(if_enabled_echo CPU_MIPSR6 r6)el + elif is_enabled CPU_MIPSR6; then + debarch=mips$(if_enabled_echo 64BIT 64)r6 else debarch=mips fi