Make build script exit on build error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10027 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
andrewfish 2010-02-19 22:48:26 +00:00
parent fea3a3a4cf
commit 23cb7cb285
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ SET BUILD_ROOT=%WORKSPACE%\Build\BeagleBoard\%TARGET%_%TARGET_TOOLS%
@REM Build the Beagle Board firmware and creat an FD (FLASH Device) Image.
CALL build -p BeagleBoardPkg\BeagleBoardPkg.dsc -a ARM -t RVCT31 -b %TARGET% %1 %2 %3 %4 %5 %6 %7 %8
if ERRORLEVEL 1 goto Exit
@if /I "%1"=="CLEAN" goto Clean
@ -58,6 +59,7 @@ SET DEBUGGER_SCRIPT=..\Debugger_scripts
)
cd ..
:Exit
EXIT /B
:Clean