summaryrefslogtreecommitdiffstats
path: root/scripts/package/mkdebian
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/package/mkdebian')
-rwxr-xr-xscripts/package/mkdebian7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index 0891974..350724c 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*)
OpenPOWER on IntegriCloud