diff mbox series

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

Message ID 20210112191530.20241-3-gvrose8192@gmail.com
State Accepted
Headers show
Series Deprecate Linux kernel module | expand

Commit Message

Gregory Rose Jan. 12, 2021, 7:15 p.m. UTC
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@gmail.com>

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

Comments

Flavio Leitner Jan. 12, 2021, 7:38 p.m. UTC | #1
On Tue, Jan 12, 2021 at 11:15:30AM -0800, Greg Rose wrote:
> 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@gmail.com>
> 
> ---

Acked-by: Flavio Leitner <fbl@sysclose.org>
diff mbox series

Patch

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])