build: remove support for Linux 4.10

This commit is contained in:
Jan Engelhardt
2018-02-12 15:01:38 +01:00
parent 9b1c7c1c04
commit f4f3f98609
3 changed files with 6 additions and 8 deletions

View File

@@ -57,12 +57,10 @@ if test -n "$kbuilddir"; then
echo "WARNING: Version detection did not succeed. Continue at own luck.";
else
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 12; then
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 15; then
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 4 -a "$kminor" -le 9; then
echo "WARNING: That kernel version is not officially supported.";
elif test "$kmajor" -eq 4 -a "$kminor" -le 10; then
:;
elif test "$kmajor" -eq 4 -a "$kminor" -ge 11; then
:
else
echo "WARNING: That kernel version is not officially supported.";
fi;