BaseTools: Fixed a build report issue.
Generate report fail when -Y EXECUTION_ORDER in build command. This patch is going to fix this issue. Contributed-under: TianoCore Contribution Agreement 1.1 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:
@ -1652,14 +1652,14 @@ class PredictionReport(object):
|
||||
GuidList = os.path.join(self._EotDir, "GuidList.txt")
|
||||
DispatchList = os.path.join(self._EotDir, "Dispatch.txt")
|
||||
|
||||
TempFile = open(SourceList, "w+")
|
||||
TempFile = []
|
||||
for Item in self._SourceList:
|
||||
FileWrite(TempFile, Item)
|
||||
TempFile.close()
|
||||
TempFile = open(GuidList, "w+")
|
||||
SaveFileOnChange(SourceList, "".join(TempFile), False)
|
||||
TempFile = []
|
||||
for Key in self._GuidMap:
|
||||
FileWrite(TempFile, "%s %s" % (Key, self._GuidMap[Key]))
|
||||
TempFile.close()
|
||||
SaveFileOnChange(GuidList, "".join(TempFile), False)
|
||||
|
||||
try:
|
||||
from Eot.EotMain import Eot
|
||||
|
Reference in New Issue
Block a user