From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: zhijux.fan@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Wed, 24 Jul 2019 20:04:54 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2019 20:04:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,305,1559545200"; d="scan'208";a="175078392" Received: from zhijufax-mobl.ccr.corp.intel.com ([10.239.196.141]) by orsmga006.jf.intel.com with ESMTP; 24 Jul 2019 20:04:52 -0700 From: "Fan, ZhijuX" To: devel@edk2.groups.io Cc: Matthew Carlson , Bob Feng , Liming Gao , "Zhiju . Fan" Subject: [PATCH V2] BaseTools:Added arch output to build report Date: Thu, 25 Jul 2019 11:04:32 +0800 Message-Id: <20190725030432.18124-1-zhijux.fan@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 From: Matthew Carlson BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2016 Added arch output to build report so it's easy to tell which arch is being generated. Useful when multiple versions of a single module is being emitted for multiple archs. This patch is going to Added arch output Cc: Bob Feng Cc: Liming Gao Signed-off-by: Zhiju.Fan --- BaseTools/Source/Python/build/BuildReport.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaseTools/Source/Python/build/BuildReport.py b/BaseTools/Source/Python/build/BuildReport.py index a3eb3b2383..b4189240e1 100644 --- a/BaseTools/Source/Python/build/BuildReport.py +++ b/BaseTools/Source/Python/build/BuildReport.py @@ -558,6 +558,7 @@ class ModuleReport(object): def __init__(self, M, ReportType): self.ModuleName = M.Module.BaseName self.ModuleInfPath = M.MetaFile.File + self.ModuleArch = M.Arch self.FileGuid = M.Guid self.Size = 0 self.BuildTimeStamp = None @@ -668,6 +669,7 @@ class ModuleReport(object): FileWrite(File, "Module Summary") FileWrite(File, "Module Name: %s" % self.ModuleName) + FileWrite(File, "Module Arch: %s" % self.ModuleArch) FileWrite(File, "Module INF Path: %s" % self.ModuleInfPath) FileWrite(File, "File GUID: %s" % self.FileGuid) if self.Size: -- 2.14.1.windows.1