mirror of https://github.com/acidanthera/audk.git
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:
parent
fea3a3a4cf
commit
23cb7cb285
|
@ -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.
|
@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
|
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
|
@if /I "%1"=="CLEAN" goto Clean
|
||||||
|
|
||||||
|
@ -58,6 +59,7 @@ SET DEBUGGER_SCRIPT=..\Debugger_scripts
|
||||||
)
|
)
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
:Exit
|
||||||
EXIT /B
|
EXIT /B
|
||||||
|
|
||||||
:Clean
|
:Clean
|
||||||
|
|
Loading…
Reference in New Issue