Fix some graysky2's cpu opt patch urls following more movements in their repo.

This commit is contained in:
Tk-Glitch
2021-03-09 01:08:45 +01:00
parent cf4717432a
commit dfd20aefa2
2 changed files with 5 additions and 7 deletions

View File

@@ -209,11 +209,9 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
case "$_basever" in
"54")
opt_ver="4.19-v5.4"
opt_urladdon="might_not_work/"
;;
"57")
opt_ver="5.7+"
opt_urladdon="might_not_work/"
opt_ver="5.7"
;;
"58")
opt_ver="5.8+"
@@ -232,7 +230,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
;;
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