[ovs-dev] [PATCH v2 22/24] acinclude: Enable builds up to Linux 5.8
Gregory Rose
gvrose8192 at gmail.com
Wed Sep 9 21:50:07 UTC 2020
On 9/9/2020 12:20 PM, Greg Rose wrote:
> Allow building openvswitch against Linux kernels up to and including
> version 5.8.
>
> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
> ---
> acinclude.m4 | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 3d56510a0..c04e4e429 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -167,10 +167,10 @@ AC_DEFUN([OVS_CHECK_LINUX], [
> AC_MSG_RESULT([$kversion])
>
> if test "$version" -ge 5; then
> - if test "$version" = 5 && test "$patchlevel" -le 5; then
> + if test "$version" = 5 && test "$patchlevel" -le 8; then
> : # Linux 5.x
> else
> - AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.5.x is not supported (please refer to the FAQ for advice)])
> + AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.9.x is not supported (please refer to the FAQ for advice)])
The warning message isn't right - should be 5.8.x. Just noticed it in
other testing.
I'll fix it up after more reviews...
- Greg
> fi
> elif test "$version" = 4; then
> : # Linux 4.x
>
More information about the dev
mailing list