mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix the issue that build report missing Module Size
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>
This commit is contained in:
parent
7d83e9e847
commit
c648e90587
|
@ -620,7 +620,7 @@ class ModuleReport(object):
|
||||||
def GenerateReport(self, File, GlobalPcdReport, GlobalPredictionReport, GlobalDepexParser, ReportType):
|
def GenerateReport(self, File, GlobalPcdReport, GlobalPredictionReport, GlobalDepexParser, ReportType):
|
||||||
FileWrite(File, gSectionStart)
|
FileWrite(File, gSectionStart)
|
||||||
|
|
||||||
FwReportFileName = os.path.join(self._BuildDir, "DEBUG", self.ModuleName + ".txt")
|
FwReportFileName = os.path.join(self._BuildDir, "OUTPUT", self.ModuleName + ".txt")
|
||||||
if os.path.isfile(FwReportFileName):
|
if os.path.isfile(FwReportFileName):
|
||||||
try:
|
try:
|
||||||
FileContents = open(FwReportFileName).read()
|
FileContents = open(FwReportFileName).read()
|
||||||
|
|
Loading…
Reference in New Issue