From c648e9058717205f8de2510db3797628a019ceaa Mon Sep 17 00:00:00 2001 From: Bob Feng Date: Wed, 8 May 2019 17:46:30 +0800 Subject: [PATCH] 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 Cc: Liming Gao Reviewed-by: Liming Gao --- BaseTools/Source/Python/build/BuildReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/build/BuildReport.py b/BaseTools/Source/Python/build/BuildReport.py index 942631c879..a3eb3b2383 100644 --- a/BaseTools/Source/Python/build/BuildReport.py +++ b/BaseTools/Source/Python/build/BuildReport.py @@ -620,7 +620,7 @@ class ModuleReport(object): def GenerateReport(self, File, GlobalPcdReport, GlobalPredictionReport, GlobalDepexParser, ReportType): 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): try: FileContents = open(FwReportFileName).read() -- 2.39.2