Fix some graysky2's cpu opt patch urls following more movements in their repo.
This commit is contained in:
parent
cf4717432a
commit
dfd20aefa2
6
PKGBUILD
6
PKGBUILD
@ -70,7 +70,7 @@ case $_basever in
|
|||||||
opt_ver="4.19-v5.4"
|
opt_ver="4.19-v5.4"
|
||||||
source=("$kernel_site"
|
source=("$kernel_site"
|
||||||
"$patch_site"
|
"$patch_site"
|
||||||
"https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/might_not_work/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v4.19-v5.4.patch"
|
"https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v4.19-v5.4.patch"
|
||||||
'config.x86_64' # stock Arch config
|
'config.x86_64' # stock Arch config
|
||||||
'config_hardened.x86_64' # hardened Arch config
|
'config_hardened.x86_64' # hardened Arch config
|
||||||
90-cleanup.hook
|
90-cleanup.hook
|
||||||
@ -120,10 +120,10 @@ case $_basever in
|
|||||||
'aeb31404c26ee898d007b1f66cb9572c9884ad8eca14edc4587d68f6cba6de46')
|
'aeb31404c26ee898d007b1f66cb9572c9884ad8eca14edc4587d68f6cba6de46')
|
||||||
;;
|
;;
|
||||||
57)
|
57)
|
||||||
opt_ver="5.7%2B"
|
opt_ver="5.7"
|
||||||
source=("$kernel_site"
|
source=("$kernel_site"
|
||||||
"$patch_site"
|
"$patch_site"
|
||||||
"https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/might_not_work/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.7%2B.patch"
|
"https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.7.patch"
|
||||||
'config.x86_64' # stock Arch config
|
'config.x86_64' # stock Arch config
|
||||||
'config_hardened.x86_64' # hardened Arch config
|
'config_hardened.x86_64' # hardened Arch config
|
||||||
90-cleanup.hook
|
90-cleanup.hook
|
||||||
|
@ -209,11 +209,9 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
|||||||
case "$_basever" in
|
case "$_basever" in
|
||||||
"54")
|
"54")
|
||||||
opt_ver="4.19-v5.4"
|
opt_ver="4.19-v5.4"
|
||||||
opt_urladdon="might_not_work/"
|
|
||||||
;;
|
;;
|
||||||
"57")
|
"57")
|
||||||
opt_ver="5.7+"
|
opt_ver="5.7"
|
||||||
opt_urladdon="might_not_work/"
|
|
||||||
;;
|
;;
|
||||||
"58")
|
"58")
|
||||||
opt_ver="5.8+"
|
opt_ver="5.8+"
|
||||||
@ -232,7 +230,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/${opt_urladdon}enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v${opt_ver}.patch"
|
wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v${opt_ver}.patch"
|
||||||
|
|
||||||
# Follow Ubuntu install isntructions in https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
|
# Follow Ubuntu install isntructions in https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user