diff mbox series

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

Message ID 20210111202650.28033-3-gvrose8192@gmail.com
State Changes Requested
Headers show
Series Deprecate the Linux OOT module | expand

Commit Message

Gregory Rose Jan. 11, 2021, 8:26 p.m. UTC
The Linux Out of Tree kernel driver 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>
---
 acinclude.m4 | 1 +
 1 file changed, 1 insertion(+)

Comments

Flavio Leitner Jan. 11, 2021, 9:51 p.m. UTC | #1
On Mon, Jan 11, 2021 at 12:26:50PM -0800, Greg Rose wrote:
> The Linux Out of Tree kernel driver is deprecated.  Emit a warning
> when the '--with-linux' configure parameter is supplied to remind
> the user.

Same here, I suggest to rephrase the out of tree above as well.

fbl

> 
> Signed-off-by: Greg Rose <gvrose8192@gmail.com>
> ---
>  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
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
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])