summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2020-10-20 09:10:08 -0400
committergraysky2020-10-20 09:10:08 -0400
commitc393e957e1ae894a186de598418420ee5d1a91da (patch)
tree8862ea1c687bc3d3733a87c1253f2f61235dfbdb
parentd08326515b61b05f7ef2f2dc9b89d1fbeeec3720 (diff)
downloadaur-c393e957e1ae894a186de598418420ee5d1a91da.tar.gz
Update to 5.9.1-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d796fae02af..a211ba86f32 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-ck
pkgver = 5.9.1
- pkgrel = 1
+ pkgrel = 2
url = https://wiki.archlinux.org/index.php/Linux-ck
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index f95e0c89a57..a05bf574fc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -65,7 +65,7 @@ _localmodcfg=
pkgbase=linux-ck
pkgver=5.9.1
-pkgrel=1
+pkgrel=2
_ckpatchversion=1
arch=(x86_64)
url="https://wiki.archlinux.org/index.php/Linux-ck"
@@ -141,10 +141,6 @@ prepare() {
sed -i -e 's/CONFIG_DEBUG_INFO=y/# CONFIG_DEBUG_INFO is not set/' \
-i -e '/CONFIG_DEBUG_INFO_DWARF4=y/d' -i -e '/CONFIG_DEBUG_INFO_BTF=y/d' ./.config
- # https://github.com/graysky2/kernel_gcc_patch
- echo "Patching to enable GCC optimization for other uarchs..."
- patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v5.8+.patch"
-
# ck patchset itself
echo "Patching with ck patchset..."
patch -Np1 -i ../"${_ckpatch}"
@@ -153,6 +149,11 @@ prepare() {
# this isn't redundant if we want a clean selection of subarch below
make olddefconfig
+ # https://github.com/graysky2/kernel_gcc_patch
+ # make sure to apply after olddefconfig to allow the next section
+ echo "Patching to enable GCC optimization for other uarchs..."
+ patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v5.8+.patch"
+
if [ -n "$_subarch" ]; then
# user wants a subarch so apply choice defined above interactively via 'yes'
yes "$_subarch" | make oldconfig