Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50d511ba authored by Ben Hutchings's avatar Ben Hutchings Committed by Masahiro Yamada
Browse files

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: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 08d3892c
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -35,7 +35,12 @@ set_debarch() {
	s390*)
		debarch=s390x ;;
	ppc*)
		debarch=$(if_enabled_echo CPU_LITTLE_ENDIAN ppc64el powerpc) ;;
		if is_enabled 64BIT; then
			debarch=ppc64$(if_enabled_echo CPU_LITTLE_ENDIAN el)
		else
			debarch=powerpc$(if_enabled_echo SPE spe)
		fi
		;;
	parisc*)
		debarch=hppa ;;
	mips*)