]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/b.bat
Add align build option to avoid the build issues.
[mirror_edk2.git] / BeagleBoardPkg / b.bat
index 3643be3f4bc4e3e597e1b70817e21dcc3150bbf7..2e4b355000b6180803b67bd7de7a415c352f102a 100755 (executable)
@@ -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\r
 
@@ -43,7 +44,7 @@ CALL build -p BeagleBoardPkg\BeagleBoardPkg.dsc -a ARM -t RVCT31 -b %TARGET% %1
 @REM point looks so strange. 
 @REM OMAP 3430 TRM section 26.4.8 has Image header information. (missing in OMAP 3530 TRM)
 @REM
-cd Tools
+@cd Tools
 
 ECHO Building tools...
 CALL nmake 
@@ -58,6 +59,7 @@ SET DEBUGGER_SCRIPT=..\Debugger_scripts
 )
 
 cd ..
+:Exit
 EXIT /B
 
 :Clean