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>
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