aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vanilla
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-24 20:58:24 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-11-24 20:58:24 +0000
commitee5d6869bfc98ecfd9eaf1b958f4f94a86b9df66 (patch)
tree1e8d3ebe906a9520e0c748c73408b80861103811 /main/linux-vanilla
parentc215dcc706ee43f26f37e6eb27df3cb3af12905f (diff)
downloadaports-ee5d6869bfc98ecfd9eaf1b958f4f94a86b9df66.tar.bz2
aports-ee5d6869bfc98ecfd9eaf1b958f4f94a86b9df66.tar.xz
main/linux-vanilla: rebuild with makefile patched for gcc default-pie
otherwise it's non-trivial to build modules. and seems to be the only sane way to setup flags so that the kbuild tests get it right for stack protector tests.
Diffstat (limited to 'main/linux-vanilla')
-rw-r--r--main/linux-vanilla/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/linux-vanilla/APKBUILD b/main/linux-vanilla/APKBUILD
index c9db8412c5..330e6322e6 100644
--- a/main/linux-vanilla/APKBUILD
+++ b/main/linux-vanilla/APKBUILD
@@ -7,7 +7,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=$pkgver;;
esac
-pkgrel=2
+pkgrel=3
pkgdesc="Linux vanilla kernel"
url="http://kernel.org"
depends="mkinitfs linux-firmware"
@@ -16,6 +16,7 @@ options="!strip"
_config=${config:-config-vanilla.${CARCH}}
install=
source="http://ftp.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz
+ gcc-default-pie.patch
config-vanilla.aarch64
config-vanilla.armhf
@@ -84,7 +85,7 @@ menuconfig() {
build() {
cd "$srcdir"/build
- make ARCH="$_carch" CC="${CC:-gcc} -fno-pie" \
+ make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1
}
@@ -163,6 +164,7 @@ dev() {
}
md5sums="9a78fa2eb6c68ca5a40ed5af08142599 linux-4.4.tar.xz
+736b1cec515210eee8ec243c910a4be2 gcc-default-pie.patch
fb219ff405db2d34ab1f7d052d2d2fbb config-vanilla.aarch64
ec4bd577f32f24143def18f66c59bb18 config-vanilla.armhf
95a504ec4ded3a581f6d2a7b43547d30 config-vanilla.x86
@@ -170,6 +172,7 @@ ec4bd577f32f24143def18f66c59bb18 config-vanilla.armhf
e10e580b7aadf42ba595e35d3ff3fc69 0001-Add-dts-for-GIGABYTE-X-Gene-MP30-AR0.patch
9281bd337dc322a056c92dd2d9055dec patch-4.4.34.xz"
sha256sums="401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 linux-4.4.tar.xz
+bc2a20a2fb42480cf09f1b240435396707fd08ae2cf9ec16be9953e922a40187 gcc-default-pie.patch
4bcde0ce497ef057006dd98915aab5797eab0a84598aad03260e3a3f4413f572 config-vanilla.aarch64
223d31ce209e61a299ac314340cb82ebbe1c18167a09dedff317f0c4bee2d6a9 config-vanilla.armhf
11e71593580afb5087614c7e0c18f7ab7e773abeb14837c2b56e8c374df73b77 config-vanilla.x86
@@ -177,6 +180,7 @@ sha256sums="401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 li
b9bcbe11c017764075179fb61fb13f6d0eca2c5495402d8f4ace2331cfe0c0b4 0001-Add-dts-for-GIGABYTE-X-Gene-MP30-AR0.patch
b1e77807267aa3ec81e46c15b1a4be0c7169b6c19eb52cd371c4f58dd2183a9d patch-4.4.34.xz"
sha512sums="13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e linux-4.4.tar.xz
+e0ce6bee9bca8bc6486df3f88e38c3177983be176249146e7e1135ef322e25357b12cbe67bf8cec9bab88911ec866a100b2e623337175bdeb94ea05fa14bd714 gcc-default-pie.patch
897b4b7d4dc2b5a72f4497283d5b90336e6097e79872325255296c01498389c883f1a266f8732833ab492936fbdb1d32606b0c8e67136c7b90268352b56e8cad config-vanilla.aarch64
2e8711861f7765cb35f70b905dc40189b1436afca11b35b3000a426d4c1afed2d9028ef71589e37340ed0c0e5e12abe45375d122712dec47d2edc0df7ea73faf config-vanilla.armhf
7cec58789a99e6b9f929667ff5516574ec1938cf3c00d8227a4eab910efedcc54514d6a83110e57a946ab59aace33774fbccc892a85ef20cfbe51431b9988607 config-vanilla.x86