build: notify of unsupported Linux kernel versions

make 3.82 does not like mixing normal rules with implicit rules,
which rejects Makefiles of Linux kernels before 2.6.32 series.
This commit is contained in:
Jan Engelhardt
2011-11-06 14:45:44 +01:00
parent 75cd1d7d6a
commit 365d5edfb3
2 changed files with 4 additions and 3 deletions

View File

@@ -64,10 +64,10 @@ if test -n "$kbuilddir"; then
echo "WARNING: You are trying a newer kernel. Results may vary. :-)";
elif test "$kmajor" -eq 3; then
:;
elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 29; then
elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 32; then
:;
else
echo "WARNING: That kernel version is not supported.";
echo "WARNING: That kernel version is not officially supported.";
fi;
fi;
fi;

View File

@@ -8,6 +8,8 @@ Fixes:
- xt_ipv4options: fix an infinite loop
Changes:
- xt_ECHO: now calculates UDP checksum
- Linux kernel versions below 2.6.32 are no longer officially
supported, and will not be part of compilation testing.
Enhancements:
- xt_ECHO: IPv6 support
@@ -80,7 +82,6 @@ Fixes:
Changes:
- Linux kernel versions below 2.6.29 are no longer officially
supported, and will not be part of compilation testing.
Expect that compat code will be removed shortly.
v1.33 (2011-02-02)