]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
OVT: disable compiling VMCI/VSOCK on kernels 3.9 and above
authorVMware, Inc <>
Fri, 12 Apr 2013 19:47:45 +0000 (12:47 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Wed, 17 Apr 2013 19:16:53 +0000 (12:16 -0700)
Starting with 3.9 our VMCI and VSOCK modules are in mainline kernel
so we do not need to compile them as out-of-tree ones.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/configure.ac

index d8c561e822d4b60ad44622996ba775e5364ea162..cdaa2e5d288e1056d0b3665d8b6e38c3a1d22003 100644 (file)
@@ -945,8 +945,12 @@ if test "$os" = "linux"; then
 
    LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lrt"
 
-   MODULES="$MODULES vmci vsock"
    MODULES="$MODULES vmxnet vmhgfs"
+   # See if we need vmci and vsock modules. Starting with 3.9 they made
+   # their way into mainline kernel.
+   if test "$osVersion" -lt 309000; then
+      MODULES="$MODULES vmci vsock"
+   fi
    if test "$osVersion" -lt 300000; then
       MODULES="$MODULES vmblock vmsync"
    fi