summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-19 22:48:26 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-19 22:48:26 +0000
commit23cb7cb285e05a7655fca7318d8ff693ca198f58 (patch)
tree3e87ef6be1787f3ec8d37fa88c6a0cfc174a0cc5 /BeagleBoardPkg
parentfea3a3a4cfaf1c5c595e4875beb38d627e8b467e (diff)
downloadedk2-platforms-23cb7cb285e05a7655fca7318d8ff693ca198f58.tar.xz
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
Diffstat (limited to 'BeagleBoardPkg')
-rwxr-xr-xBeagleBoardPkg/b.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/BeagleBoardPkg/b.bat b/BeagleBoardPkg/b.bat
index 3643be3f4b..ab88c77d86 100755
--- a/BeagleBoardPkg/b.bat
+++ b/BeagleBoardPkg/b.bat
@@ -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