Skip to content

Commit

Permalink
builddeb: Add automatic support for mips64el architecture
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
bwhacks authored and masahir0y committed Jul 28, 2018
1 parent 50d511b commit 159b379
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/package/mkdebian
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
Expand Down

0 comments on commit 159b379

Please sign in to comment.