linux5.0: enable for ppc*

I had to disable CONFIG_ZSMALLOC because it does not build for ppc.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-06 15:18:29 +02:00
parent 028ab51d5e
commit aa6aad4e41
No known key found for this signature in database
GPG Key ID: DE55AD8DBEBB4EE8
2 changed files with 7018 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@ noverifyrdeps=yes
noshlibprovides=yes
preserve=yes
archs="i686* x86_64* armv5tel* armv6l* armv7l* aarch64* ppc64*"
archs="i686* x86_64* armv5tel* armv6l* armv7l* aarch64* ppc*"
hostmakedepends="bc elfutils-devel flex gmp-devel kmod libmpc-devel libressl-devel perl uboot-mkimage"
_kernver="${version}_${revision}"
@ -52,6 +52,7 @@ do_configure() {
aarch64*) arch=arm64;;
ppc64le*) arch=powerpc; subarch=ppc64le;;
ppc64*) arch=powerpc; subarch=ppc64;;
ppc*) arch=powerpc;;
esac
if [ "$CROSS_BUILD" ]; then
@ -86,7 +87,7 @@ do_build() {
x86_64*) _args="bzImage modules"; arch=x86_64;;
arm*) _args="zImage modules dtbs"; arch=arm;;
aarch64*) _args="Image modules dtbs"; arch=arm64;;
ppc64*) _args="zImage modules"; arch=powerpc;;
ppc*) _args="zImage modules"; arch=powerpc;;
esac
if [ "$CROSS_BUILD" ]; then
_cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
@ -106,7 +107,7 @@ do_install() {
x86_64*) arch=x86; subarch=x86_64;;
arm*) arch=arm;;
aarch64*) arch=arm64;;
ppc64*) arch=powerpc;;
ppc*) arch=powerpc;;
esac
# Run depmod after compressing modules.