summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2018-07-26 13:21:16 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-28 04:53:44 +0300
commit159b37942286b32aa1c08620b3a1ed2dace7d047 (patch)
tree817e326e49bb4cf9545e0f6993954ccb1ce5c91b /scripts/package
parent50d511ba6246c46654857b8ef64aefe76a87e455 (diff)
downloadlinux-159b37942286b32aa1c08620b3a1ed2dace7d047.tar.xz
builddeb: Add automatic support for mips64el architecture
We currently label 64-bit little-endian kernel packages as mipsel (32-bit little-endian), mostly it was officially supported while mips64el (64-bit little-endian) was not. Now both are officially supported, so label these packages as mips64el. 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/mkdebian7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index 0891974f499b..350724cdc5af 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -44,7 +44,12 @@ set_debarch() {
parisc*)
debarch=hppa ;;
mips*)
- debarch=mips$(if_enabled_echo CPU_LITTLE_ENDIAN el) ;;
+ if is_enabled CPU_LITTLE_ENDIAN; then
+ debarch=mips$(if_enabled_echo 64BIT 64)el
+ else
+ debarch=mips
+ fi
+ ;;
aarch64|arm64)
debarch=arm64 ;;
arm*)