From: Michael Kinney <michael.d.kinney@intel.com>
To: edk2-devel@lists.01.org
Cc: Jiewen Yao <jiewen.yao@intel.com>,
David Wei <david.wei@intel.com>, Mang Guo <mang.guo@intel.com>
Subject: [Patch 2/3] Vlv2TbltDevicePkg: Add /y flag to generate report files
Date: Tue, 29 Nov 2016 14:12:51 -0800 [thread overview]
Message-ID: <1480457572-10564-3-git-send-email-michael.d.kinney@intel.com> (raw)
In-Reply-To: <1480457572-10564-1-git-send-email-michael.d.kinney@intel.com>
https://bugzilla.tianocore.org/show_bug.cgi?id=273
Update build script to generate a report file and put
both the report file and the log file in the directory
Vlv2TbltDevicePkg with an EDK2_Vlv2TbltDevicePkg prefix.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: David Wei <david.wei@intel.com>
Cc: Mang Guo <mang.guo@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
---
Vlv2TbltDevicePkg/Build_IFWI.bat | 5 +++++
Vlv2TbltDevicePkg/bld_vlv.bat | 12 ++++++++++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/Vlv2TbltDevicePkg/Build_IFWI.bat b/Vlv2TbltDevicePkg/Build_IFWI.bat
index 0b50b79..d33f73e 100644
--- a/Vlv2TbltDevicePkg/Build_IFWI.bat
+++ b/Vlv2TbltDevicePkg/Build_IFWI.bat
@@ -40,6 +40,11 @@ if /i "%~1"=="/l" (
shift
goto OptLoop
)
+if /i "%~1"=="/y" (
+ set Build_Flags=%Build_Flags% /y
+ shift
+ goto OptLoop
+)
if /i "%~1" == "/c" (
set Build_Flags=%Build_Flags% /c
shift
diff --git a/Vlv2TbltDevicePkg/bld_vlv.bat b/Vlv2TbltDevicePkg/bld_vlv.bat
index e21a6cf..e6e0bd0 100644
--- a/Vlv2TbltDevicePkg/bld_vlv.bat
+++ b/Vlv2TbltDevicePkg/bld_vlv.bat
@@ -29,7 +29,8 @@ set Arch=X64
set Source=0
:: Clean up previous build files.
-if exist %WORKSPACE%\edk2.log del %WORKSPACE%\edk2.log
+if exist %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.log del %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.log
+if exist %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.report del %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.report
if exist %WORKSPACE%\unitool.log del %WORKSPACE%\unitool.log
if exist %WORKSPACE%\Conf\target.txt del %WORKSPACE%\Conf\target.txt
if exist %WORKSPACE%\Conf\tools_def.txt del %WORKSPACE%\Conf\tools_def.txt
@@ -61,7 +62,12 @@ copy /y nul %auto_config_inc% >nul
if /i "%~1"=="/?" goto Usage
if /i "%~1"=="/l" (
- set Build_Flags=%Build_Flags% -j EDK2.log
+ set Build_Flags=%Build_Flags% -j %PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.log
+ shift
+ goto OptLoop
+)
+if /i "%~1"=="/y" (
+ set Build_Flags=%Build_Flags% -y %PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.report
shift
goto OptLoop
)
@@ -258,6 +264,8 @@ echo.
echo Usage: bld_vlv.bat [options] PlatformType [Build Target]
echo.
echo /c CleanAll before building
+echo /l Generate build log file
+echo /y Generate build report file
echo /IA32 Set Arch to IA32 (default: X64)
echo /X64 Set Arch to X64 (default: X64)
echo.
--
2.6.3.windows.1
next prev parent reply other threads:[~2016-11-29 22:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-29 22:12 [Patch 0/3] Vlv2TbltDevicePkg: Update build scripts Michael Kinney
2016-11-29 22:12 ` [Patch 1/3] Vlv2TbltDevicePkg: Fix typo in name of nul output file Michael Kinney
2016-11-29 22:12 ` Michael Kinney [this message]
2016-11-29 22:12 ` [Patch 3/3] Vlv2TbltDevicePkg: Add /m flag for multi-processor build Michael Kinney
2016-11-30 1:58 ` [Patch 0/3] Vlv2TbltDevicePkg: Update build scripts Yao, Jiewen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480457572-10564-3-git-send-email-michael.d.kinney@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox