]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/b.bat
ShellPkg: Fix command line parsing for script files (%1, %1, etc...)
[mirror_edk2.git] / BeagleBoardPkg / b.bat
index ab88c77d86316826bbc613e746ea16d572ca23a4..130d0d1c7a13bf176274f0a2b4102f274c733822 100755 (executable)
@@ -1,5 +1,5 @@
-@REM Copyright (c) 2008 - 2010, Apple, Inc.  All rights reserved.
-@REM All rights reserved. This program and the accompanying materials
+@REM Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
+@REM This program and the accompanying materials
 @REM are licensed and made available under the terms and conditions of the BSD License
 @REM which accompanies this distribution.  The full text of the license may be found at
 @REM http://opensource.org/licenses/bsd-license.php
@@ -19,8 +19,8 @@ ECHO OFF
 @REM Setup Build environment. Sets WORKSPACE and puts build in path
 CALL ..\edksetup.bat
 
-@REM Set for tools chain. Currently RVCT31
-SET TARGET_TOOLS=RVCT31
+@REM Set for tools chain. Currently RVCT
+SET TARGET_TOOLS=RVCT
 SET TARGET=DEBUG
 \r
 @if /I "%1"=="RELEASE" (\r
@@ -32,8 +32,8 @@ SET TARGET=DEBUG
 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
+CALL build -p BeagleBoardPkg\BeagleBoardPkg.dsc -a ARM -t %TARGET_TOOLS% -b %TARGET% %1 %2 %3 %4 %5 %6 %7 %8
+@if ERRORLEVEL 1 goto Exit
 
 @if /I "%1"=="CLEAN" goto Clean\r
 
@@ -44,7 +44,7 @@ if ERRORLEVEL 1 goto Exit
 @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