1. Add loading fixed address report if the fixed address map file is generated.
[efi/basetools/.git] / Source / Python / Eot / Eot.py
index e21ca7f..815907d 100644 (file)
@@ -43,7 +43,7 @@ class Eot(object):
     #\r
     def __init__(self, CommandLineOption=True, IsInit=True, SourceFileList=None, \\r
                  IncludeDirList=None, DecFileList=None, GuidList=None, LogFile=None,\r
-                 FvFileList="", MapFileList="", Report='Report.html'):\r
+                 FvFileList="", MapFileList="", Report='Report.html', Dispatch=None):\r
         # Version and Copyright\r
         self.VersionNumber = "0.02"\r
         self.Version = "%prog Version " + self.VersionNumber\r
@@ -58,6 +58,7 @@ class Eot(object):
         self.LogFile = LogFile\r
         self.FvFileList = FvFileList\r
         self.MapFileList = MapFileList\r
+        self.Dispatch = Dispatch\r
         \r
         # Check workspace environment\r
         if "EFI_SOURCE" not in os.environ:\r
@@ -289,7 +290,7 @@ class Eot(object):
     #\r
     def GenerateReport(self):\r
         EdkLogger.quiet("Generating report file ... ")\r
-        Rep = Report('Report.html', EotGlobalData.gFV)\r
+        Rep = Report(self.Report, EotGlobalData.gFV, self.Dispatch)\r
         Rep.GenerateReport()\r
 \r
     ## LoadMapInfo() method\r