[ovs-dev] [PATCH] build: Skip datapath subdir on Windows

Alin Serdean aserdean at cloudbasesolutions.com
Fri Jul 1 18:36:12 UTC 2016


This patch makes automake skip the 'datapath' folder under Windows.

The main reason is that msys does not have an implementation of rev
used by:
https://github.com/openvswitch/ovs/blob/master/datapath/Makefile.am#L34

and can be seen on:
https://ci.appveyor.com/project/blp/ovs/build/1.0.1851#L322

Another solution would be to skip COMPAT_GET_FUNCTIONS on windows or
to modify the use of 'rev'.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 8cb8523..c251ef5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,9 @@
 
 AUTOMAKE_OPTIONS = foreign subdir-objects
 ACLOCAL_AMFLAGS = -I m4
+if !WIN32
 SUBDIRS = datapath
+endif
 
 AM_CPPFLAGS = $(SSL_CFLAGS)
 AM_LDFLAGS = $(SSL_LDFLAGS)
-- 
1.9.5.msysgit.0



More information about the dev mailing list