]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
OVT: Build only fuse-based or kernel module vmblocktest programs.
authorJohn Wolfe <jwolfe@vmware.com>
Wed, 23 Dec 2020 15:33:50 +0000 (07:33 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Wed, 23 Dec 2020 15:33:50 +0000 (07:33 -0800)
The OVT configuration determines whether open-vm-tools will build
a vmblock kernel module or a vmblock-fuse user level VMBlock
implementation.  Both versions of the vmblocktest program(s) are not
needed.   Linux OVT is only using the vmblock-fuse implementation.

Select the version to build based on the HAVE_FUSE setting from the
./configure run.

This fixes https://github.com/vmware/open-vm-tools/issues/467

open-vm-tools/tests/testVmblock/Makefile.am

index b2ae31effe7c6a673234af4cc8493790e0b52bf0..f4ac11da85802f5064efcb8cb084d3bcb7b87d3a 100644 (file)
 ### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 ################################################################################
 
-noinst_PROGRAMS = vmware-testvmblock-legacy
-noinst_PROGRAMS += vmware-testvmblock-manual-legacy
-
 if HAVE_FUSE
-  noinst_PROGRAMS += vmware-testvmblock-fuse
+  noinst_PROGRAMS = vmware-testvmblock-fuse
   noinst_PROGRAMS += vmware-testvmblock-manual-fuse
+else
+  noinst_PROGRAMS = vmware-testvmblock-legacy
+  noinst_PROGRAMS += vmware-testvmblock-manual-legacy
 endif
 
 AM_CFLAGS =