diff options
author | Bob Feng <bob.c.feng@intel.com> | 2019-05-08 17:46:30 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-05-09 15:03:30 +0800 |
commit | c648e9058717205f8de2510db3797628a019ceaa (patch) | |
tree | e23ea25781e424a3ad13d036223ec2fb24ad2c29 /BaseTools/Source/Python/build/BuildReport.py | |
parent | 7d83e9e84793428b72d15d56e0d0cf11c8e1ced9 (diff) | |
download | edk2-c648e9058717205f8de2510db3797628a019ceaa.tar.gz edk2-c648e9058717205f8de2510db3797628a019ceaa.tar.bz2 edk2-c648e9058717205f8de2510db3797628a019ceaa.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/build/BuildReport.py')
-rw-r--r-- | BaseTools/Source/Python/build/BuildReport.py | 2 |
1 files changed, 1 insertions, 1 deletions
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()
|