summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD12
-rw-r--r--graysky_bdver2-hotfix.patch6
2 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7cf1018..0998ef5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ _minver=2
fi
_ckpatchversion=ck1
_ckpatch="patch-${_majver}-${_ckpatchversion}"
-_gcc_more_v='20190714'
+_gccpatchver='20190714'
_srcname=linux-${pkgver}
pkgrel=1
url='https://kernel.org'
@@ -46,7 +46,7 @@ source=(
ck_remove-excess-extraversion.patch
linux-ck-patch-${_majver}-${_ckpatchversion}.xz::http://ck.kolivas.org/patches/5.0/${_majver}/${_majver}-${_ckpatchversion}/${_ckpatch}.xz
graysky_bdver2-hotfix.patch
- kernel-gcc-patch-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz
+ kernel_gcc_patch-${_gccpatchver}.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/${_gccpatchver}.tar.gz
ath9k-regdom-hack.patch
raid6-default-algo.patch
config.x86_64 # the main kernel config files
@@ -61,7 +61,7 @@ sha256sums=('e5d91382699391e228efae87903ffeeac39b9e694ee3cf32970c87d28e516d9c'
'8449de698dfc8f95ff03dbfd98b6abdd71dbc4238896256690cb856fe366aac3'
'152c551bd03e92d6458b0d9f352c97eb058014ab019fa213167a6f8178bd6d71'
'f1abc13a8d859fbf6350040e45d7f04ad551a6d39f113ba96fbbd820118c0e36'
- '5d52143dc2c5888348ce9866baff6a7a2fc975cccc7236dc572fde438ba636e0'
+ '5d078323fc39482a8f828f721e55246d061914602f0cdadaa4787de50a2a6228'
'2466fb4aecc66d1b258b4cbdb2f215b5099f266d8c4386bb62ad1a0acd0caf5b'
'e7ebf050c22bcec0028c0b3c79fd6d3913b0370ecc6a23dfe78ce475630cf503'
'0f81d6e4158b7beeb0eb514f1b9401f7e23699cb0f7b0d513e25dae1815daaeb'
@@ -94,7 +94,7 @@ prepare() {
# ck hotfixes
msg2 "Applying ck patch hotfixes"
- patch -p1 -i ../ck_remove-excess-extraversion.patch "$srcdir/linux-ck-patch-${_majver}-${_ckpatchversion}"
+ patch -p1 -i ../ck_remove-excess-extraversion.patch "$srcdir/linux-ck-patch-5.2-ck1"
# ck patch
msg2 "Applying ck patch"
@@ -103,11 +103,11 @@ prepare() {
# graysky gcc hotfixes
msg2 "Applying graysky gcc patch hotfixes"
- patch -p1 -i ../graysky_bdver2-hotfix.patch "$srcdir/kernel_gcc_patch-${_gcc_more_v}/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch"
+ patch -p1 -i ../graysky_bdver2-hotfix.patch "$srcdir/kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch"
# graysky gcc patch
msg2 "Applying graysky cpu patch"
- patch -p1 -i ../kernel_gcc_patch-${_gcc_more_v}/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
+ patch -p1 -i ../kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
# Ignore ath9k eeprom patch
diff --git a/graysky_bdver2-hotfix.patch b/graysky_bdver2-hotfix.patch
index 6d6620e..3e2b4f4 100644
--- a/graysky_bdver2-hotfix.patch
+++ b/graysky_bdver2-hotfix.patch
@@ -1,6 +1,6 @@
---- a/kernel-gcc-patch-20190714/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
-+++ b/kernel-gcc-patch-20190714/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
-@@ -492,7 +492,7 @@ + cflags-$(CONFIG_MBARCELONA) += $(call cc-option,-march=barcelona)
+--- a/kernel_gcc_patch-20190714/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
++++ b/kernel_gcc_patch-20190714/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
+@@ -492,7 +492,7 @@
+ cflags-$(CONFIG_MBOBCAT) += $(call cc-option,-march=btver1)
+ cflags-$(CONFIG_MJAGUAR) += $(call cc-option,-march=btver2)
+ cflags-$(CONFIG_MBULLDOZER) += $(call cc-option,-march=bdver1)