ib_srpt: Fix nightly build

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7081 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-12-27 20:21:53 +00:00
parent a24bf679b8
commit 6912463c2e
2 changed files with 72 additions and 3 deletions
+14 -1
View File
@@ -629,7 +629,20 @@ do
download_kernel $k || continue
generate_kernel_patch $k "${generate_kernel_patch_options}" || continue
( cd "${outputdir}" && extract_kernel_tree $k ) || continue
(
cd "${outputdir}" &&
extract_kernel_tree $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
) ||
continue
if [ "${run_checkpatch}" = "true" ]; then
run_checkpatch $k
fi