mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 13:16:34 +00:00
scripts/kernel-functions: Make it possible to build older kernels with gcc 10
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -677,17 +677,7 @@ do
|
||||
generate_kernel_patch "$k" "${generate_kernel_patch_options}" || continue
|
||||
(
|
||||
cd "${outputdir}" &&
|
||||
download_and_extract_kernel_tree "$k" &&
|
||||
k="${k/^*}" &&
|
||||
cd "linux-$k/include/linux" &&
|
||||
if [ ! -e compiler-gcc6.h ]; then
|
||||
for f in compiler-gcc5.h compiler-gcc4.h; do
|
||||
if [ -e "$f" ]; then
|
||||
cp "$f" compiler-gcc6.h
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
download_and_extract_kernel_tree "$k"
|
||||
) ||
|
||||
continue
|
||||
k="${k/^*}"
|
||||
|
||||
Reference in New Issue
Block a user