Skip to content

Commit

Permalink
netkvm: Fix build break with WDK 10.0.15063.0
Browse files Browse the repository at this point in the history
stampinf.exe in the latest Win10 WDK appears to have a bug and writes
out an empty DriverVer= directive when passed a command line like below:

  stampinf -f <inf> -a <arch> -v <version>

Adding -d seems to work around it:

  stampinf -f <inf> -a <arch> -v <version> -d *

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
  • Loading branch information
ladipro committed Apr 26, 2017
1 parent 33b6c27 commit da5a2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetKVM/NetKVM-VS2015.vcxproj
Expand Up @@ -360,7 +360,7 @@
<Command>
copy /Y $(ProjectDir)\$(SourceInfFile) $(OutDir)\netkvm.inf
echo "Copy: "$(ProjectDir)\$(SourceInfFile)
stampinf -f $(OutDir)\netkvm.inf -a $(InfArch) -v $(STAMPINF_VERSION)
stampinf -f $(OutDir)\netkvm.inf -a $(InfArch) -v $(STAMPINF_VERSION) -d *
</Command>
<Message>Copy correct INF and stamp it</Message>
</PreBuildEvent>
Expand Down

0 comments on commit da5a2cc

Please sign in to comment.