win-pvdrivers

view quicksign.bat @ 1094:64ddfb914cd9

Fix driver paths for quicksign script
author James Harper <james.harper@bendigoit.com.au>
date Mon Jan 13 20:25:51 2014 +1100 (2014-01-13)
parents 85b99b9795a6
children
line source
1 @ECHO OFF
3 CALL set_ddk_path.bat
5 IF %_BUILDARCH%==x86 (SET BUILDDIR=obj%BUILD_ALT_DIR%\i386) ELSE (SET BUILDDIR=obj%BUILD_ALT_DIR%\amd64)
6 IF %DDK_TARGET_OS%==Win2K SET SIGN_OS=2000
7 IF %DDK_TARGET_OS%==WinXP SET SIGN_OS=XP_X86
8 IF %DDK_TARGET_OS%%_BUILDARCH%==WinNETx86 SET SIGN_OS=Server2003_X86
9 IF %DDK_TARGET_OS%%_BUILDARCH%==WinNETAMD64 SET SIGN_OS=XP_X64,Server2003_X64
10 IF %DDK_TARGET_OS%%_BUILDARCH%==WinLHx86 SET SIGN_OS=Vista_X86,Server2008_X86
11 IF %DDK_TARGET_OS%%_BUILDARCH%==WinLHAMD64 SET SIGN_OS=Vista_X64,Server2008_X64
13 SET CERT_FILENAME=
14 SET CERT_PASSWORD=
15 SET CERT_CROSS_CERT_FILENAME=
16 SET CERT_PUBLIC_FILENAME=
17 call sign_config.bat
19 SET SIGNTOOL=%DDK_PATH%\bin\x86\signtool.exe
20 IF NOT EXIST %SIGNTOOL% SET SIGNTOOL=%DDK_PATH%\bin\selfsign\signtool.exe
22 ECHO DDK_TARGET_OS=%DDK_TARGET_OS%
23 ECHO _BUILDARCH=%_BUILDARCH%
24 ECHO BUILDDIR=%BUILDDIR%
25 ECHO SIGN_OS=%SIGN_OS%
26 ECHO SIGNTOOL=%SIGNTOOL%
27 SET CERT_CROSS_CERT_FLAG=
28 IF DEFINED CERT_CROSS_CERT_FILENAME SET CERT_CROSS_CERT_FLAG=/ac %CERT_CROSS_CERT_FILENAME%
29 SET CERT_PASSWORD_FLAG=
30 IF DEFINED CERT_PASSWORD SET CERT_PASSWORD_FLAG=/p %CERT_PASSWORD%
31 %SIGNTOOL% sign /v %CERT_CROSS_CERT_FLAG% /f %CERT_FILENAME% %CERT_PASSWORD_FLAG% /t http://timestamp.verisign.com/scripts/timstamp.dll xenpci\%BUILDDIR%\xenpci.sys
32 %SIGNTOOL% sign /v %CERT_CROSS_CERT_FLAG% /f %CERT_FILENAME% %CERT_PASSWORD_FLAG% /t http://timestamp.verisign.com/scripts/timstamp.dll xenvbd_scsiport\%BUILDDIR%\xenvbd.sys
33 %SIGNTOOL% sign /v %CERT_CROSS_CERT_FLAG% /f %CERT_FILENAME% %CERT_PASSWORD_FLAG% /t http://timestamp.verisign.com/scripts/timstamp.dll xenvbd_filter\%BUILDDIR%\xenvbdfilter.sys
34 %SIGNTOOL% sign /v %CERT_CROSS_CERT_FLAG% /f %CERT_FILENAME% %CERT_PASSWORD_FLAG% /t http://timestamp.verisign.com/scripts/timstamp.dll xenvbd_storport\%BUILDDIR%\xenvbd.sys
35 %SIGNTOOL% sign /v %CERT_CROSS_CERT_FLAG% /f %CERT_FILENAME% %CERT_PASSWORD_FLAG% /t http://timestamp.verisign.com/scripts/timstamp.dll xennet\%BUILDDIR%\xennet.sys
36 %SIGNTOOL% sign /v %CERT_CROSS_CERT_FLAG% /f %CERT_FILENAME% %CERT_PASSWORD_FLAG% /t http://timestamp.verisign.com/scripts/timstamp.dll xenusb\%BUILDDIR%\xenusb.sys
37 REM %SIGNTOOL% sign /v %CERT_CROSS_CERT_FLAG% /f %CERT_FILENAME% %CERT_PASSWORD_FLAG% /t http://timestamp.verisign.com/scripts/timstamp.dll xencache\%BUILDDIR%\xencache.sys