aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/package
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2018-07-26 06:22:20 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-27 21:53:44 -0400
commit679caaf3f79f0adad3b6b6b02539b868a963f46d (patch)
treef1ba66d93433fccc95dbcbe5aa8b29197f982642 /scripts/package
parent159b37942286b32aa1c08620b3a1ed2dace7d047 (diff)
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 <ben@decadent.org.uk> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/package')
-rwxr-xr-xscripts/package/mkdebian4
1 files changed, 3 insertions, 1 deletions
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() {
45 debarch=hppa ;; 45 debarch=hppa ;;
46 mips*) 46 mips*)
47 if is_enabled CPU_LITTLE_ENDIAN; then 47 if is_enabled CPU_LITTLE_ENDIAN; then
48 debarch=mips$(if_enabled_echo 64BIT 64)el 48 debarch=mips$(if_enabled_echo 64BIT 64)$(if_enabled_echo CPU_MIPSR6 r6)el
49 elif is_enabled CPU_MIPSR6; then
50 debarch=mips$(if_enabled_echo 64BIT 64)r6
49 else 51 else
50 debarch=mips 52 debarch=mips
51 fi 53 fi