win-pvdrivers

annotate 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
rev   line source
james@998 1 @ECHO OFF
james@998 2
james@1015 3 CALL set_ddk_path.bat
james@998 4
james@998 5 IF %_BUILDARCH%==x86 (SET BUILDDIR=obj%BUILD_ALT_DIR%\i386) ELSE (SET BUILDDIR=obj%BUILD_ALT_DIR%\amd64)
james@998 6 IF %DDK_TARGET_OS%==Win2K SET SIGN_OS=2000
james@998 7 IF %DDK_TARGET_OS%==WinXP SET SIGN_OS=XP_X86
james@998 8 IF %DDK_TARGET_OS%%_BUILDARCH%==WinNETx86 SET SIGN_OS=Server2003_X86
james@998 9 IF %DDK_TARGET_OS%%_BUILDARCH%==WinNETAMD64 SET SIGN_OS=XP_X64,Server2003_X64
james@998 10 IF %DDK_TARGET_OS%%_BUILDARCH%==WinLHx86 SET SIGN_OS=Vista_X86,Server2008_X86
james@998 11 IF %DDK_TARGET_OS%%_BUILDARCH%==WinLHAMD64 SET SIGN_OS=Vista_X64,Server2008_X64
james@998 12
james@998 13 SET CERT_FILENAME=
james@998 14 SET CERT_PASSWORD=
james@998 15 SET CERT_CROSS_CERT_FILENAME=
james@998 16 SET CERT_PUBLIC_FILENAME=
james@998 17 call sign_config.bat
james@998 18
james@998 19 SET SIGNTOOL=%DDK_PATH%\bin\x86\signtool.exe
james@998 20 IF NOT EXIST %SIGNTOOL% SET SIGNTOOL=%DDK_PATH%\bin\selfsign\signtool.exe
james@998 21
james@998 22 ECHO DDK_TARGET_OS=%DDK_TARGET_OS%
james@998 23 ECHO _BUILDARCH=%_BUILDARCH%
james@998 24 ECHO BUILDDIR=%BUILDDIR%
james@998 25 ECHO SIGN_OS=%SIGN_OS%
james@998 26 ECHO SIGNTOOL=%SIGNTOOL%
james@998 27 SET CERT_CROSS_CERT_FLAG=
james@998 28 IF DEFINED CERT_CROSS_CERT_FILENAME SET CERT_CROSS_CERT_FLAG=/ac %CERT_CROSS_CERT_FILENAME%
james@998 29 SET CERT_PASSWORD_FLAG=
james@998 30 IF DEFINED CERT_PASSWORD SET CERT_PASSWORD_FLAG=/p %CERT_PASSWORD%
james@1005 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
james@1015 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
james@1094 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
james@1015 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
james@1005 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
james@1005 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
james@1094 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