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

Gregory Rose gvrose8192 at gmail.com
Thu Jan 7 19:54:58 UTC 2021



On 1/7/2021 11:36 AM, 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.

In view of Ben's comments on the other patch in this series I will
change 'Linux  Out of Tree kernel driver' to 'Linux kernel module
built from the Open vSwitch source' or some such when I respin the
patch series.

- Greg


> 
> Signed-off-by: Greg Rose <gvrose8192 at 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])
> 


More information about the dev mailing list