install.sh: Add 5.11 handling for Graysky's CPU optimizations patchset

Fixes https://github.com/Frogging-Family/linux-tkg/issues/180
This commit is contained in:
Tk-Glitch 2021-02-16 20:32:53 +01:00
parent 0d12aa7951
commit 6999b37993

View File

@ -222,6 +222,9 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
"510")
opt_ver="5.8"
;;
"511")
opt_ver="5.8"
;;
esac
wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v${opt_ver}+.patch"