aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vanilla/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-08 19:30:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-09 20:07:13 +0000
commitcb636e4b646c1572d18512d4b894c51d0791fe46 (patch)
tree9257e7419b2291a8259c12859be09664c62a423c /main/linux-vanilla/APKBUILD
parent0b57d55255f1bded4c86923648b9bb2814ed6b96 (diff)
downloadaports-cb636e4b646c1572d18512d4b894c51d0791fe46.tar.bz2
aports-cb636e4b646c1572d18512d4b894c51d0791fe46.tar.xz
main/linux-vanilla: fix ppc64le config
- fix netfilter modules config (needed netfilter advanced) - enable CRYPT_PCRYPT (and PADATA) for wireguard - include crtsavres.o in the -dev subpackage http://bugzilla.kernel.org/show_bug.cgi?id=11143
Diffstat (limited to 'main/linux-vanilla/APKBUILD')
-rw-r--r--main/linux-vanilla/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/linux-vanilla/APKBUILD b/main/linux-vanilla/APKBUILD
index 95eba592bd..1ce10c6988 100644
--- a/main/linux-vanilla/APKBUILD
+++ b/main/linux-vanilla/APKBUILD
@@ -7,7 +7,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=$pkgver;;
esac
-pkgrel=0
+pkgrel=1
pkgdesc="Linux vanilla kernel"
url="http://kernel.org"
depends="mkinitfs linux-firmware"
@@ -138,6 +138,12 @@ dev() {
make -j1 -C "$srcdir"/linux-$_kernver O="$dir" ARCH="$_carch" HOSTCC="$HOSTCC" \
silentoldconfig prepare modules_prepare scripts
+ # needed for 3rd party modules
+ # https://bugzilla.kernel.org/show_bug.cgi?id=11143
+ case "$CARCH" in
+ ppc*) (cd "$dir" && make arch/powerpc/lib/crtsavres.o);;
+ esac
+
# remove the stuff that points to real sources. we want 3rd party
# modules to believe this is the soruces
rm "$dir"/Makefile "$dir"/source
@@ -171,6 +177,6 @@ sha512sums="bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a
30c585d679b96571149ecf80c66a074059923c191cc9eebbca8cbcdff98e08b354cff954354723f2ff5db23166ce947bce5b0c4c47bd439b3e7840057cab08ac config-vanilla.x86
e6e57f053c35ffd5829132a51ef1f73780a2f1c5497aa7730ffb72f7a9e0d689326d9b4e33f8edb674781fb15f8217217fd7620cc9014d1878cc161b680a171a config-vanilla.x86_64
ee565e219530bcfaf5cade2622432cfb83743bdbbfc388781901461f19ca553b7fdee3c81ce6b34225ef78a209eb60088630284fcbb0430947aad77a5d8a0865 config-vanilla.ppc
-8a1a1fdcb8fce13e1ea2b2e3e978b03ce7c55f8bd841fcbd460d1c516bb929dfeee0d42015792ac6e0647a62ff45c97f5c7147cd4999bf192d644623d45625a7 config-vanilla.ppc64le
+cb6baaa4d081a802d09dd6a71c7ad008e6141fd220618cf629e3b16058cbe745b5c9a4307989b01c33537e7e6e22204487eaef0d77286d64727e0af0d9d6b8f8 config-vanilla.ppc64le
040ded4603acd7d72227b8ea648876118f647d5750331c68419f057def3da4e751a13e8d73ae6d2f040e8a2eedd128415d9cf75420c1e3d5314910d11c705d95 config-vanilla.s390x
f58ba4480a80b5c3d379067fdbaeb67cec838d8d268ea41b4e726a70aea7673a12ba14ecf7cae62e01ad908b7e2d0f59085cfa027f9cb472717911b26e1dfbbd patch-4.9.26.xz"