repository: c:/kernel.org/kvm-guest-drivers-windows
branch: master
commit 809713e25bc6beb40850661df9039da804915545
Author: Vadim Rozenfeld <vroze...@redhat.com>
Date:   Fri Oct 1 13:16:50 2010 +0200

    [NetKVM] From: Yan Vugenfirer <yvuge...@redhat.com> fix build and
signing scripts

diff --git a/NetKVM/buildAll.bat b/NetKVM/buildAll.bat
index 9379f4a..8e2ad7b 100644
--- a/NetKVM/buildAll.bat
+++ b/NetKVM/buildAll.bat
@@ -20,6 +20,8 @@ set _MAJORVERSION_=209
 set _MINORVERSION_=605
 set _DRIVER_ISO_NAME=Install-%_MINORVERSION_%%_MAJORVERSION_%.iso
 
+set OLD_PATH=%PATH%
+
 if not "%1"=="" goto parameters_here
 echo no parameters specified, rebuild all
 call clean.bat
@@ -46,7 +48,7 @@ goto nextparam
 : (NDIS is different from general-purpose kernel)
 :
 :copyVirtIO
-for %%f in (..\VirtIO\*.h ..\VirtIO\*.c) do copy %%f VirtIO /Y
+for %%f in (..\VirtIO\VirtIO*.h ..\VirtIO\VirtIO*.c ..\VirtIO
\PVUtils.c ..\VirtIO\PVUtils.h ..\VirtIO\PVUtils.h) do copy %%f
VirtIO /Y
 goto :eof
 
 
@@ -59,7 +61,6 @@ set _VERSION_=%_NT_TARGET_MAJ%.%_NT_TARGET_MIN%.%
_MAJORVERSION_%.%_MINORVERSION_
 echo version set: %_VERSION_%
 goto :eof
 
-
 :Win7 
 set DDKBUILDENV=
 pushd %BUILDROOT%
@@ -158,3 +159,5 @@ goto continue
 :echo Packing to ISO image
 :call tools\makecdimage.cmd %_DRIVER_ISO_NAME% Install
 goto :eof
+echo "setting old path back"
+set PATH=%OLD_PATH%
\ No newline at end of file
diff --git a/NetKVM/tools/signing.cmd b/NetKVM/tools/signing.cmd
index 1daf47e..f4c0a39 100644
--- a/NetKVM/tools/signing.cmd
+++ b/NetKVM/tools/signing.cmd
@@ -30,16 +30,16 @@ goto :eof
 :signVista
 shift
 if /i "%1"=="x86" set _OSMASK_=Vista_X86,Server2008_X86,7_X86
-if /i "%1"=="amd64" set _OSMASK_=Vista_X64,Server2008_X64,7_X64
-if /i "%1"=="x64" set _OSMASK_=Vista_X64,Server2008_X64,7_X64
+if /i "%1"=="amd64" set
_OSMASK_=Vista_X64,Server2008_X64,7_X64,Server2008R2_X64
+if /i "%1"=="x64" set
_OSMASK_=Vista_X64,Server2008_X64,7_X64,Server2008R2_X64
 call :dosign %1 %2 %3 
 goto :eof
 
 :signWin7
 shift
 if /i "%1"=="x86" set _OSMASK_=Vista_X86,Server2008_X86,7_X86
-if /i "%1"=="amd64" set _OSMASK_=Vista_X64,Server2008_X64,7_X64
-if /i "%1"=="x64" set _OSMASK_=Vista_X64,Server2008_X64,7_X64
+if /i "%1"=="amd64" set
_OSMASK_=Vista_X64,Server2008_X64,7_X64,Server2008R2_X64
+if /i "%1"=="x64" set
_OSMASK_=Vista_X64,Server2008_X64,7_X64,Server2008R2_X64
 call :dosign %1 %2 %3 
 goto :eof
 

--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to