summaryrefslogtreecommitdiff
path: root/datapath-windows/automake.mk
diff options
context:
space:
mode:
authorAlin Gabriel Serdean <aserdean@ovn.org>2019-04-03 20:48:03 +0300
committerAlin Gabriel Serdean <aserdean@ovn.org>2019-05-09 15:11:08 +0300
commit1881a1a459d86a814b46d8eeb29aa51062ab658d (patch)
tree3073f7d0b82d4d711465ff283c4240408b883d93 /datapath-windows/automake.mk
parente045ef158632ddec4288881f9ab75d3d9d83e707 (diff)
downloadopenvswitch-1881a1a459d86a814b46d8eeb29aa51062ab658d.tar.gz
datapath-windows: Add Win10Analyze target
This patch adds a new target called `Win10Analyze` to the driver solution. It enables us to trigger static analysis over the Win10 target. Since the location of the ruleset of drivers is somewhat random starting from 1803: https://www.osr.com/blog/2018/05/21/wdk-1803-ca/ Commit the ruleset inside our repository. This is the same ruleset used for 8,8.1 and 10. Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org> Acked-by: Anand Kumar <kumaranand@vmware.com>
Diffstat (limited to 'datapath-windows/automake.mk')
-rw-r--r--datapath-windows/automake.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/datapath-windows/automake.mk b/datapath-windows/automake.mk
index 3820041f6..b8cf5dd95 100644
--- a/datapath-windows/automake.mk
+++ b/datapath-windows/automake.mk
@@ -3,6 +3,7 @@ EXTRA_DIST += \
datapath-windows/Package/package.VcxProj.user \
datapath-windows/include/OvsDpInterfaceExt.h \
datapath-windows/include/OvsDpInterfaceCtExt.h \
+ datapath-windows/misc/DriverRecommendedRules.ruleset \
datapath-windows/misc/OVS.psm1 \
datapath-windows/misc/install.cmd \
datapath-windows/misc/uninstall.cmd \
@@ -86,5 +87,6 @@ EXTRA_DIST += \
datapath-windows/ovsext/resource.h
datapath_windows_analyze: all
+ MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win10Analyze"
MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8.1Analyze"
MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8Analyze"