From: John Wolfe Date: Tue, 22 Dec 2020 20:22:03 +0000 (-0800) Subject: OVT: Build only fuse-based or kernel module vmblocktest programs. X-Git-Tag: stable-11.3.0~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af42d91f5881f1fcec0a902206386f546306dfe9;p=thirdparty%2Fopen-vm-tools.git OVT: Build only fuse-based or kernel module vmblocktest programs. 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 --- diff --git a/open-vm-tools/tests/testVmblock/Makefile.am b/open-vm-tools/tests/testVmblock/Makefile.am index b2ae31eff..f4ac11da8 100644 --- a/open-vm-tools/tests/testVmblock/Makefile.am +++ b/open-vm-tools/tests/testVmblock/Makefile.am @@ -15,12 +15,12 @@ ### 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 =