summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGreg Rose <gvrose8192@gmail.com>2021-01-12 11:15:30 -0800
committerIlya Maximets <i.maximets@ovn.org>2021-01-15 19:32:49 +0100
commit24ce0afe4a2a6e16e45e715d891751cfdc49e646 (patch)
treeebbe333aae16abce453dc2b8f67a77898f2cd02b /acinclude.m4
parentacb46c58a036dcaebde4f34f4b6f49dbb51013cb (diff)
downloadopenvswitch-24ce0afe4a2a6e16e45e715d891751cfdc49e646.tar.gz
acinclude: Warn when --with-linux parameter is supplied.
Building the Linux kernel module 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> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index b73526b60..a67e397b6 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])