mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 20:55:13 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user