>This commit adds to the automake build system the full build required
>by the forwarding extension solution.
>
>It will help a lot in the future CI to check the full build of the
>project.
>
>To configure the forwarding extension to be built one could use the
>following:
>./configure CC=./build-aux/cccl LD="`which link`" LIBS="-lws2_32" \
>    --prefix="C:/openvswitch/usr" --localstatedir="C:/openvswitch/var" \
>    --sysconfdir="C:/openvswitch/etc" --with-pthread="C:/pthread" \
>    --with-vstudioddk="Win8.1 Release"
>
>Documentation will be updated in another patch.
>
>Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com>


Thanks for working on this! Just one minor nit below.

Acked-by: Saurabh Shah <ssaur...@vmware.com>


>---
> Makefile.am       | 10 ++++++++++
> configure.ac      |  1 +
> m4/openvswitch.m4 | 28 ++++++++++++++++++++++++++++
> 3 files changed, 39 insertions(+)
>
>diff --git a/Makefile.am b/Makefile.am
>index b64fb62..3c2ae89 100644
>--- a/Makefile.am
>+++ b/Makefile.am
>@@ -290,6 +290,16 @@ $(srcdir)/manpages.mk: $(MAN_ROOTS)
>build-aux/sodepends.pl
>       fi
> CLEANFILES += manpage-dep-check
> 
>+if VSTUDIO_DDK
>+ALL_LOCAL += ovsext_make
>+ovsext_make: datapath-windows/ovsext.sln
>+      MSBuild.exe datapath-windows/ovsext.sln /target:Build
>/property:Configuration="$(VSTUDIO_CONFIG)"
>+
>+CLEAN_LOCAL += ovsext_clean
>+ovsext_clean: datapath-windows/ovsext.sln
>+      MSBuild.exe datapath-windows/ovsext.sln /target:Clean
>/property:Configuration="$(VSTUDIO_CONFIG)"
>+endif
>+
> dist-hook: $(DIST_HOOKS)
> all-local: $(ALL_LOCAL)
> clean-local: $(CLEAN_LOCAL)
>diff --git a/configure.ac b/configure.ac
>index 971c7b3..f41a9e6 100644
>--- a/configure.ac
>+++ b/configure.ac
>@@ -51,6 +51,7 @@ AC_FUNC_STRERROR_R
> 
> OVS_CHECK_ESX
> OVS_CHECK_WIN32
>+OVS_CHECK_VISUAL_STUDIO_DDK
> OVS_CHECK_COVERAGE
> OVS_CHECK_NDEBUG
> OVS_CHECK_NETLINK
>diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
>index 26b8058..55aa3f0 100644
>--- a/m4/openvswitch.m4
>+++ b/m4/openvswitch.m4
>@@ -86,12 +86,40 @@ AC_DEFUN([OVS_CHECK_WIN32],
>             AC_MSG_ERROR([pthread directory not specified])
>          ]
>       )
>+

Unintended change?

‹ Saurabh

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to