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."; echo "WARNING: Version detection did not succeed. Continue at own luck.";
else else
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; 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."; echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 4 -a "$kminor" -le 9; then elif test "$kmajor" -eq 4 -a "$kminor" -ge 11; then
echo "WARNING: That kernel version is not officially supported."; :
elif test "$kmajor" -eq 4 -a "$kminor" -le 10; then
:;
else else
echo "WARNING: That kernel version is not officially supported."; echo "WARNING: That kernel version is not officially supported.";
fi; fi;

View File

@@ -4,7 +4,7 @@ HEAD
Enhancements: Enhancements:
- support for Linux up to 4.15 - support for Linux up to 4.15
Changes: Changes:
- remove support for Linux 3.7--4.9 - remove support for Linux 3.7--4.10
v2.14 (2017-11-22) v2.14 (2017-11-22)

View File

@@ -8,8 +8,8 @@
#define DEBUGP Use__pr_debug__instead #define DEBUGP Use__pr_debug__instead
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
# warning Kernels below 4.10 not supported. # warning Kernels below 4.11 not supported.
#endif #endif
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)