win-pvdrivers

changeset 961:c67807a32ff9

More build updates
author James Harper <james.harper@bendigoit.com.au>
date Fri Dec 30 20:32:40 2011 +1100 (2011-12-30)
parents 20cb40e054c2
children 278b479f3f7d
files makedist.bat sign_config.bat.template
line diff
     1.1 --- a/makedist.bat	Sat Dec 24 19:20:48 2011 +1100
     1.2 +++ b/makedist.bat	Fri Dec 30 20:32:40 2011 +1100
     1.3 @@ -27,12 +27,13 @@ SET CERT_CROSS_CERT_FILENAME=
     1.4  SET CERT_PUBLIC_FILENAME=
     1.5  IF NOT EXIST SIGN_CONFIG.BAT GOTO DONT_SIGN
     1.6  CALL SIGN_CONFIG.BAT
     1.7 +SET CERT_CROSS_CERT_FLAG=
     1.8 +SET CERT_PASSWORD_FLAG=
     1.9 +IF DEFINED CERT_CROSS_CERT_FILENAME SET CERT_CROSS_CERT_FLAG=/ac %CERT_CROSS_CERT_FILENAME%
    1.10 +IF DEFINED CERT_PASSWORD SET CERT_PASSWORD_FLAG=-p %CERT_PASSWORD%
    1.11  IF EXIST %CERT_FILENAME% GOTO :DONT_SIGN
    1.12  "%DDK_PATH%"\bin\x86\makecert -r -pe -ss PrivateCertStore -n "CN=GPLPV Test Cert" %CERT_PUBLIC_FILENAME%
    1.13 -IF DEFINED CERT_PASSWORD SET CERT_PASSWORD_FLAG=-p %CERT_PASSWORD%
    1.14  certutil -exportpfx -user -privatekey %CERT_PASSWORD_FLAG% PrivateCertStore "GPLPV Test Cert" "%CERT_FILENAME%
    1.15 -SET CERT_CROSS_CERT_FLAG=
    1.16 -IF DEFINED CERT_CROSS_CERT_FILENAME SET CERT_CROSS_CERT_FLAG=/ac %CERT_CROSS_CERT_FILENAME%
    1.17  :DONT_SIGN
    1.18  
    1.19  mkdir symbols\%GPLPV_VERSION%
     2.1 --- a/sign_config.bat.template	Sat Dec 24 19:20:48 2011 +1100
     2.2 +++ b/sign_config.bat.template	Fri Dec 30 20:32:40 2011 +1100
     2.3 @@ -1,4 +1,4 @@
     2.4 -SET CERT_FILENAME=pfx private certificate
     2.5 +SET CERT_FILENAME=private certificate .pfx
     2.6  SET CERT_PASSWORD=pfx password
     2.7 -SET CERT_CROSS_CERT=MS Cross Signing Certificate (if you have a proper authenticode cert)
     2.8 -SET CERT_PUBLIC_FILENAME=cer public certificate (if you _don't_ have a proper authenticode cert)
     2.9 +SET CERT_CROSS_CERT_FILENAME=MS Cross Signing Certificate .cer (if you have a proper authenticode cert)
    2.10 +SET CERT_PUBLIC_FILENAME=public certificate .cer (if you _don't_ have a proper authenticode cert)