win-pvdrivers

changeset 542:3cf16033c8ff

Added missing file
author James Harper <james.harper@bendigoit.com.au>
date Wed Mar 04 13:51:55 2009 +1100 (2009-03-04)
parents 7359efee2d6f
children 6e6f1a70b38b
files sign.bat
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sign.bat	Wed Mar 04 13:51:55 2009 +1100
     1.3 @@ -0,0 +1,31 @@
     1.4 +@ECHO OFF
     1.5 +IF %_BUILDARCH%==x86 (SET BUILDDIR=obj%BUILD_ALT_DIR%\i386) ELSE (SET BUILDDIR=obj%BUILD_ALT_DIR%\amd64)
     1.6 +IF %DDK_TARGET_OS%==WinXP SET SIGN_OS=XP_X86
     1.7 +IF %DDK_TARGET_OS%%_BUILDARCH%==WinNETx86 SET SIGN_OS=Server2003_X86
     1.8 +IF %DDK_TARGET_OS%%_BUILDARCH%==WinNETAMD64 SET SIGN_OS=XP_X64,Server2003_X64
     1.9 +IF %DDK_TARGET_OS%%_BUILDARCH%==WinLHx86 SET SIGN_OS=Vista_X86,Server2008_X86
    1.10 +IF %DDK_TARGET_OS%%_BUILDARCH%==WinLHAMD64 SET SIGN_OS=Vista_X64,Server2008_X64
    1.11 +
    1.12 +ECHO DDK_TARGET_OS=%DDK_TARGET_OS%
    1.13 +ECHO _BUILDARCH=%_BUILDARCH%
    1.14 +ECHO BUILDDIR=%BUILDDIR%
    1.15 +ECHO SIGN_OS=%SIGN_OS%
    1.16 +
    1.17 +xcopy /D xenhide\%BUILDDIR%\xenhide.sys xenpci\%BUILDDIR%
    1.18 +xcopy /D %BASEDIR%\redist\wdf\%_BUILDARCH%\WdfCoInstaller01007.dll xenpci\%BUILDDIR%
    1.19 +
    1.20 +IF NOT EXIST SIGN_CONFIG.BAT GOTO DONT_SIGN
    1.21 +CALL SIGN_CONFIG.BAT
    1.22 +%DDK_PATH%\bin\selfsign\inf2cat /driver:xenpci\%BUILDDIR% /os:%SIGN_OS%
    1.23 +%DDK_PATH%\bin\selfsign\signtool sign /v /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll xenpci\%BUILDDIR%\xenpci.sys xenpci\%BUILDDIR%\xenhide.sys xenpci\%BUILDDIR%\WdfCoInstaller01007.dll xenpci\%BUILDDIR%\xenpci.cat
    1.24 +
    1.25 +%DDK_PATH%\bin\selfsign\inf2cat /driver:xennet\%BUILDDIR% /os:%SIGN_OS%
    1.26 +%DDK_PATH%\bin\selfsign\signtool sign /v /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll xennet\%BUILDDIR%\xennet.sys xennet\%BUILDDIR%\xennet.cat
    1.27 +
    1.28 +%DDK_PATH%\bin\selfsign\inf2cat /driver:xenvbd\%BUILDDIR% /os:%SIGN_OS%
    1.29 +%DDK_PATH%\bin\selfsign\signtool sign /v /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll xenvbd\%BUILDDIR%\xenvbd.sys xenvbd\%BUILDDIR%\xenvbd.cat
    1.30 +
    1.31 +%DDK_PATH%\bin\selfsign\inf2cat /driver:xenscsi\%BUILDDIR% /os:%SIGN_OS%
    1.32 +%DDK_PATH%\bin\selfsign\signtool sign /v /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll xenscsi\%BUILDDIR%\xenscsi.sys xenscsi\%BUILDDIR%\xenscsi.cat
    1.33 +
    1.34 +:DONT_SIGN