Adapt to new names/paths for graysky2's cpu opt patchsets
Again 🐸 Fixes https://github.com/Frogging-Family/linux-tkg/issues/196
This commit is contained in:
@@ -212,6 +212,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
||||
;;
|
||||
"57")
|
||||
opt_ver="5.7"
|
||||
opt_alternative_url="true"
|
||||
;;
|
||||
"58")
|
||||
opt_ver="5.8+"
|
||||
@@ -230,7 +231,11 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
||||
;;
|
||||
esac
|
||||
|
||||
wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v${opt_ver}.patch"
|
||||
if [ "$opt_alternative_url" = "true" ]; then
|
||||
wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/more-uarches-for-gcc-v10-and-kernel-${opt_ver}.patch"
|
||||
else
|
||||
wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/outdated_versions/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v${opt_ver}.patch"
|
||||
fi
|
||||
|
||||
# Follow Ubuntu install isntructions in https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
|
||||
|
||||
|
Reference in New Issue
Block a user