From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1237881C98 for ; Tue, 29 Nov 2016 14:12:55 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 29 Nov 2016 14:12:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,570,1473145200"; d="scan'208";a="1092281414" Received: from mdkinney-mobl.amr.corp.intel.com ([10.232.100.16]) by fmsmga002.fm.intel.com with ESMTP; 29 Nov 2016 14:12:54 -0800 From: Michael Kinney To: edk2-devel@lists.01.org Cc: Jiewen Yao , David Wei , Mang Guo Date: Tue, 29 Nov 2016 14:12:51 -0800 Message-Id: <1480457572-10564-3-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1480457572-10564-1-git-send-email-michael.d.kinney@intel.com> References: <1480457572-10564-1-git-send-email-michael.d.kinney@intel.com> Subject: [Patch 2/3] Vlv2TbltDevicePkg: Add /y flag to generate report files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 22:12:55 -0000 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 Cc: David Wei Cc: Mang Guo Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney --- 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