repository: c:/kernel.org/kvm-guest-drivers-windows
branch: master
commit af3ee0d3d8fba315b372c75923395c6c164a46d8
Author: Vadim Rozenfeld <[email protected]>
Date: Mon Sep 27 13:05:29 2010 +0200
[viostor] new build scripts
diff --git a/viostor/buildAll.bat b/viostor/buildAll.bat
index 526c368..f2c8572 100644
--- a/viostor/buildAll.bat
+++ b/viostor/buildAll.bat
@@ -1,7 +1,10 @@
@echo off
+set STAMPINF_VERSION=6.0.0.10
set SYS_FILE_NAME=viostor
+set OLD_PATH=%PATH%
+
for %%A in (Win7 Wnet Wlh WXp) do for %%B in (32 64) do call :%%A_%%B
goto :eof
@@ -10,65 +13,59 @@ call buildOne.bat %1 %2
goto :eof
:packsys
-call packOne.bat %1 %2 %SYS_FILE_NAME% %3
+call packOne.bat %1 %2 %SYS_FILE_NAME%
goto :eof
:buildpack
call :buildsys %1 %2
-call :packsys %1 %2 %3
+call :packsys %1 %2
set BUILD_OS=
set BUILD_ARC=
-set INF_FILE_NAME=
goto :eof
:WIN7_32
set BUILD_OS=Win7
set BUILD_ARC=x86
-set INF_FILE_NAME=Wlh
-call :buildpack %BUILD_OS% %BUILD_ARC% %INF_FILE_NAME%
+call :buildpack %BUILD_OS% %BUILD_ARC%
goto :eof
:WIN7_64
set BUILD_OS=Win7
set BUILD_ARC=x64
-set INF_FILE_NAME=Wlh
-call :buildpack %BUILD_OS% %BUILD_ARC% %INF_FILE_NAME%
+call :buildpack %BUILD_OS% %BUILD_ARC%
goto :eof
:WLH_32
set BUILD_OS=Wlh
set BUILD_ARC=x86
-set INF_FILE_NAME=Wlh
-call :buildpack %BUILD_OS% %BUILD_ARC% %INF_FILE_NAME%
+call :buildpack %BUILD_OS% %BUILD_ARC%
goto :eof
:WLH_64
set BUILD_OS=Wlh
set BUILD_ARC=x64
-set INF_FILE_NAME=Wlh
-call :buildpack %BUILD_OS% %BUILD_ARC% %INF_FILE_NAME%
+call :buildpack %BUILD_OS% %BUILD_ARC%
goto :eof
:WNET_32
set BUILD_OS=Wnet
set BUILD_ARC=x86
-set INF_FILE_NAME=Wnet
-call :buildpack %BUILD_OS% %BUILD_ARC% %INF_FILE_NAME%
+call :buildpack %BUILD_OS% %BUILD_ARC%
goto :eof
:WNET_64
set BUILD_OS=Wnet
set BUILD_ARC=x64
-set INF_FILE_NAME=Wnet
-call :buildpack %BUILD_OS% %BUILD_ARC% %INF_FILE_NAME%
+call :buildpack %BUILD_OS% %BUILD_ARC%
goto :eof
:WXP_32
set BUILD_OS=WXp
set BUILD_ARC=x86
-set INF_FILE_NAME=Wxp
-call :buildpack %BUILD_OS% %BUILD_ARC% %INF_FILE_NAME%
+call :buildpack %BUILD_OS% %BUILD_ARC%
goto :eof
:WXP_64
goto :eof
+
+PATH=%OLD_PATH%
\ No newline at end of file
diff --git a/viostor/packOne.bat b/viostor/packOne.bat
index bf66704..e3ec30a 100644
--- a/viostor/packOne.bat
+++ b/viostor/packOne.bat
@@ -2,7 +2,6 @@
: Param1 - Win7 | Wlh | Wnet | XP
: Param2 - x86|x64
: Param3 - sys name
-: Param3 - inf name
if "%2"=="x64" set %%2=amd64
@@ -26,7 +25,6 @@ set BUILDROOT=C:\WINDDK\%DDKVER%
set INST_OS=%1
set INST_ARC=%2
set SYS_NAME=%3
-set INF_NAME=%4
rem set INST_EXT=INST_ARC
if /i "%INST_ARC%"=="x64" goto :set_x64
@@ -41,9 +39,9 @@ set INST_EXT=amd64
:startcopy
set SYS_PATH_AND_NAME=objfre_%INST_OS%_%INST_ARC%\%INST_EXT%\%SYS_NAME
%.sys
set PDB_PATH_AND_NAME=objfre_%INST_OS%_%INST_ARC%\%INST_EXT%\%SYS_NAME
%.pdb
-set INF_PATH_AND_NAME=%INF_NAME%.inf
+set INF_PATH_AND_NAME=objfre_%INST_OS%_%INST_ARC%\%INST_EXT%\%SYS_NAME
%.inf
-rem echo makeinstall %1 %2 %3 %4
+rem echo makeinstall %1 %2 %3
mkdir .\Install\%INST_OS%\%INST_ARC%
del /Q .\Install\%INST_OS%\%INST_ARC%\%FILE_NAME%.*
copy /Y %SYS_PATH_AND_NAME% .\Install\%INST_OS%\%INST_ARC%
@@ -81,7 +79,6 @@ inf2cat /driver:Install\%INST_OS%\%INST_ARC% /os:%
_OSMASK_%
set INST_OS=
set INST_ARC=
set SYS_NAME=
-set INF_NAME=
set SYS_PATH_AND_NAME=
set PDB_PATH_AND_NAME=
set INF_PATH_AND_NAME=
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html