Skip to content

Commit 50d511b

Browse files
bwhacksmasahir0y
authored andcommitted
builddeb: Add automatic support for ppc64 and powerpcspe architectures
We currently label 64-bit big-endian kernel packages as powerpc (32-bit), mostly because it was officially supported while ppc64 (64-bit big-endian) was not. Now neither is officially supported, so label these packages as ppc64. Debian also has a powerpcspe (32-bit with SPE) architecture. Label packages with a suitable configuration as powerpcspe. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 08d3892 commit 50d511b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎scripts/package/mkdebian‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ set_debarch() {
3535
s390*)
3636
debarch=s390x ;;
3737
ppc*)
38-
debarch=$(if_enabled_echo CPU_LITTLE_ENDIAN ppc64el powerpc) ;;
38+
if is_enabled 64BIT; then
39+
debarch=ppc64$(if_enabled_echo CPU_LITTLE_ENDIAN el)
40+
else
41+
debarch=powerpc$(if_enabled_echo SPE spe)
42+
fi
43+
;;
3944
parisc*)
4045
debarch=hppa ;;
4146
mips*)

0 commit comments

Comments
 (0)