update build.bat

git-svn-id: svn://kolibrios.org@1094 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov ( 2009-05-31 07:57:33 +00:00
parent f2e792c411
commit ff022e3fd8

View File

@ -1,6 +1,5 @@
@echo off @echo off
cls cls
set languages=en ru ge et set languages=en ru ge et
set drivers=sound sis infinity ensoniq ps2mouse com_mouse uart ati2d vmode set drivers=sound sis infinity ensoniq ps2mouse com_mouse uart ati2d vmode
set targets=all kernel drivers skins clean set targets=all kernel drivers skins clean
@ -77,6 +76,10 @@ goto :eof
move bin\drivers\vmode.obj bin\drivers\vmode.mdr move bin\drivers\vmode.obj bin\drivers\vmode.mdr
kpack >nul 2>&1
if %errorlevel%==9009 goto :Error_KpackFailed
echo * echo *
echo ############################################## echo ##############################################
echo * echo *
@ -94,7 +97,7 @@ if "%res%"=="y" (
for %%a in (bin\drivers\*.obj) do ( for %%a in (bin\drivers\*.obj) do (
echo ================== kpack %%a echo ================== kpack %%a
kpack %%a kpack %%a
if not %errorlevel%==0 goto :Error_FasmFailed if not %errorlevel%==0 goto :Error_KpackFailed
) )
) )
@ -127,9 +130,8 @@ exit 1
:Error_KpackFailed :Error_KpackFailed
echo *** NOTICE *** echo *** NOTICE ***
echo If you want pack all applications you may echo If you want pack all applications you may
echo place "kpack" in accessible directory. echo place "kpack" in accessible directory or system %PATH%.
echo You can download that tool from http://diamondz.land.ru/ echo You can download that tool from http://diamond.kolibrios.org/.
echo.
pause pause
exit 1 exit 1