Build: Generate 32-bit supplementary ppc64 .deb
As with x86-64, the Power ISA basically implements 64-bit instructions as extensions of their 32-bit counterparts. Thus, 64-bit Power ISA CPUs can natively execute legacy 32-bit PowerPC instructions when running in big-endian mode. Most Power ISA support has shifted (pun intended) to little-endian mode, so there are few remaining operating systems that support big-endian mode. Debian is one of them, however (albeit unofficially.)
This commit is contained in:
@@ -56,6 +56,8 @@ makedeb()
|
|||||||
PKGNAME=$PKGNAME\32
|
PKGNAME=$PKGNAME\32
|
||||||
if [ "$DEBARCH" = "i386" ]; then
|
if [ "$DEBARCH" = "i386" ]; then
|
||||||
DEBARCH=amd64
|
DEBARCH=amd64
|
||||||
|
elif [ "$DEBARCH" = "ppc" ]; then
|
||||||
|
DEBARCH=ppc64
|
||||||
else
|
else
|
||||||
DEBARCH=arm64
|
DEBARCH=arm64
|
||||||
fi
|
fi
|
||||||
@@ -114,7 +116,8 @@ if [ ! `uid` -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
makedeb 0
|
makedeb 0
|
||||||
if [ "$DEBARCH" = "i386" -o "$DEBARCH" = "armel" -o "$DEBARCH" = "armhf" ]; then
|
if [ "$DEBARCH" = "i386" -o "$DEBARCH" = "armel" -o "$DEBARCH" = "armhf" -o \
|
||||||
|
"$DEBARCH" = "ppc" ]; then
|
||||||
makedeb 1
|
makedeb 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user