Skip to content
Snippets Groups Projects
Commit 679caaf3 authored by Ben Hutchings's avatar Ben Hutchings Committed by Masahiro Yamada
Browse files

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: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 159b3794
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,9 @@ set_debarch() { ...@@ -45,7 +45,9 @@ set_debarch() {
debarch=hppa ;; debarch=hppa ;;
mips*) mips*)
if is_enabled CPU_LITTLE_ENDIAN; then 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 else
debarch=mips debarch=mips
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment