]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fix the issue that build report missing Module Size
authorBob Feng <bob.c.feng@intel.com>
Wed, 8 May 2019 09:46:30 +0000 (17:46 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Thu, 9 May 2019 07:03:30 +0000 (15:03 +0800)
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1786

commit b1e27d changed GENFW output folder from DEBUG to OUTPUT,
but that commit missed updating the buildreport.py for FwReportFileName.

This patch is going to fix this issue.

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/build/BuildReport.py

index 942631c8795abfa1504cdcf9a8442d7722dfd7d6..a3eb3b2383e4b6fba6b1a5581a9abb1af0045006 100644 (file)
@@ -620,7 +620,7 @@ class ModuleReport(object):
     def GenerateReport(self, File, GlobalPcdReport, GlobalPredictionReport, GlobalDepexParser, ReportType):\r
         FileWrite(File, gSectionStart)\r
 \r
-        FwReportFileName = os.path.join(self._BuildDir, "DEBUG", self.ModuleName + ".txt")\r
+        FwReportFileName = os.path.join(self._BuildDir, "OUTPUT", self.ModuleName + ".txt")\r
         if os.path.isfile(FwReportFileName):\r
             try:\r
                 FileContents = open(FwReportFileName).read()\r