]> git.proxmox.com Git - mirror_edk2.git/blame - ArmRealViewEbPkg/b.bat
Fix the build break in two open source packages caused by check in 10660.
[mirror_edk2.git] / ArmRealViewEbPkg / b.bat
CommitLineData
afdfe8f0 1@REM Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
2@REM This program and the accompanying materials\r
3@REM are licensed and made available under the terms and conditions of the BSD License\r
4@REM which accompanies this distribution. The full text of the license may be found at\r
5@REM http://opensource.org/licenses/bsd-license.php\r
6@REM\r
7@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
8@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
9@REM\r
10\r
11@REM Example usage of this script. default is a DEBUG build\r
12@REM b\r
13@REM b clean\r
14@REM b release \r
15@REM b release clean\r
16@REM b -v -y build.log\r
17\r
18ECHO OFF\r
19@REM Setup Build environment. Sets WORKSPACE and puts build in path\r
20CALL ..\edksetup.bat\r
21\r
22@REM Set for tools chain. Currently RVCT31\r
23SET TARGET_TOOLS=RVCT31\r
24SET TARGET=DEBUG\r
b76848cb 25\r
26@if /I "%1"=="RELEASE" (\r
27 @REM If 1st argument is release set TARGET to RELEASE and shift arguments to remove it \r
28 SET TARGET=RELEASE\r
29 shift /1\r
30)\r
afdfe8f0 31\r
32SET BUILD_ROOT=%WORKSPACE%\Build\ArmRealViewEb\%TARGET%_%TARGET_TOOLS%\r
33\r
34@REM Build the ARM RealView EB firmware and creat an FD (FLASH Device) Image.\r
35CALL build -p ArmRealViewEbPkg\ArmRealViewEbPkg.dsc -a ARM -t RVCT31 -b %TARGET% %1 %2 %3 %4 %5 %6 %7 %8\r
36@if ERRORLEVEL 1 goto Exit\r
37\r
b76848cb 38@if /I "%1"=="CLEAN" goto Clean\r
afdfe8f0 39\r
40:Exit\r
41EXIT /B\r
42\r
43:Clean\r