build: add support for Linux 4.17

This commit is contained in:
Jan Engelhardt
2018-08-14 14:23:04 +02:00
parent b0b2b5a74c
commit 4603d3e0f4
2 changed files with 4 additions and 2 deletions

View File

@@ -57,9 +57,9 @@ 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 16; then
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 17; then
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 4 -a "$kminor" -ge 16; then
elif test "$kmajor" -eq 4 -a "$kminor" -ge 17; then
:
else
echo "WARNING: That kernel version is not officially supported.";