[ovs-dev] [PATCH V5 2/2] acinclude: Warn when --with-linux parameter is supplied

Greg Rose gvrose8192 at gmail.com
Tue Jan 12 19:15:30 UTC 2021


Building the Linux kernel driver from the Open vSwitch source tree
is deprecated.  Emit a warning when the '--with-linux' configure
parameter is supplied to remind the user.

Signed-off-by: Greg Rose <gvrose8192 at gmail.com>

---
V5 - Change wording to clarify the OVS source tree.
`
---
 acinclude.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/acinclude.m4 b/acinclude.m4
index 60871f67a..3432e1f9b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -77,6 +77,7 @@ AC_DEFUN([OVS_CHECK_LINUX], [
 
   if test X"$with_linux" != X; then
     KBUILD=$with_linux
+    AC_MSG_WARN([--with-linux is deprecated and kernel support is limited to 5.8 and below])
   elif test X"$with_l26" != X; then
     KBUILD=$with_l26
     AC_MSG_WARN([--with-l26 is deprecated, please use --with-linux instead])
-- 
2.17.1



More information about the dev mailing list