win-pvdrivers

changeset 1010:e06c60a6fe3f

add quickbuild.bat file to quickly generate based on current build environment
author James Harper <james.harper@bendigoit.com.au>
date Mon Feb 11 17:27:11 2013 +1100 (2013-02-11)
parents 4fe62602bc18
children c21a4feb4a27
files quickbuild.bat
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/quickbuild.bat	Mon Feb 11 17:27:11 2013 +1100
     1.3 @@ -0,0 +1,31 @@
     1.4 +@echo off
     1.5 +
     1.6 +GOTO %DDK_TARGET_OS% 2>nul:
     1.7 +ECHO no target set
     1.8 +GOTO :EOF
     1.9 +
    1.10 +REM cmd /C "%DDK_PATH_2K%\bin\setenv.bat %DDK_PATH_2K%\ chk W2K && CD /D "%PV_DIR%" && build -cZg ~xenusb ~copyconfig ~waitnopendinginstallevents
    1.11 +REM cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WXP && CD /D "%PV_DIR%" && build -cZg
    1.12 +
    1.13 +REM 2000 and XP don't have storport
    1.14 +:Win2K
    1.15 +:WinXP
    1.16 +build -cZg ~xenvbd_storport
    1.17 +IF NOT %ERRORLEVEL%==0 GOTO :EOF
    1.18 +GOTO sign
    1.19 +
    1.20 +REM 2003 may not have virtual storport so build both
    1.21 +:WinNET
    1.22 +build -cZg
    1.23 +IF NOT %ERRORLEVEL%==0 GOTO :EOF
    1.24 +GOTO sign
    1.25 +
    1.26 +REM Vista and newer has virtual storport
    1.27 +:WinLH
    1.28 +build -cZg ~xenvbd_scsiport ~xenvbd_filter
    1.29 +IF NOT %ERRORLEVEL%==0 GOTO :EOF
    1.30 +GOTO sign
    1.31 +
    1.32 +:sign
    1.33 +
    1.34 +CALL quicksign.bat
    1.35 \ No newline at end of file