1 @REM Copyright
(c
) 2008 - 2010, Apple Inc. All rights reserved.
<BR
>
2 @REM This program and the accompanying materials
3 @REM are licensed and made available under the terms and conditions of the BSD License
4 @REM which accompanies this distribution. The full text of the license may be found at
5 @REM http
://opensource.org
/licenses
/bsd
-license.php
7 @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN
"AS IS" BASIS
,
8 @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND
, EITHER EXPRESS OR IMPLIED.
11 @REM Example usage of this script. default is a
DEBUG build
16 @REM b
-v
-y build.log
19 @REM Setup Build environment. Sets WORKSPACE and puts build in
path
22 @REM
Set for tools chain. Currently RVCT31
23 SET TARGET_TOOLS
=RVCT31
26 @
if /I
"%1"=="RELEASE" (
27 @REM
If 1st argument is release
set TARGET to RELEASE and
shift arguments to remove it
32 SET BUILD_ROOT
=%WORKSPACE%\Build\ArmRealViewEb\
%TARGET%_
%TARGET_TOOLS%
34 @REM Build the ARM RealView EB firmware and creat an FD
(FLASH
Device) Image.
35 CALL build
-p ArmRealViewEbPkg\ArmRealViewEbPkg.dsc
-a ARM
-t RVCT31
-b
%TARGET% %1 %2 %3 %4 %5 %6 %7 %8
36 @
if ERRORLEVEL 1 goto Exit
38 @
if /I
"%1"=="CLEAN" goto Clean