|
From: <qh...@us...> - 2010-02-08 06:29:10
|
Revision: 1851
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=1851&view=rev
Author: qhuang8
Date: 2010-02-08 06:29:04 +0000 (Mon, 08 Feb 2010)
Log Message:
-----------
Update to not generate EOT report when the FV list in empty
Modified Paths:
--------------
trunk/BaseTools/Source/Python/build/BuildReport.py
Modified: trunk/BaseTools/Source/Python/build/BuildReport.py
===================================================================
--- trunk/BaseTools/Source/Python/build/BuildReport.py 2010-02-08 06:05:26 UTC (rev 1850)
+++ trunk/BaseTools/Source/Python/build/BuildReport.py 2010-02-08 06:29:04 UTC (rev 1851)
@@ -848,6 +848,8 @@
if os.path.isfile(FvFile):
FvFileList.append(FvFile)
+ if len(FvFileList) == 0:
+ return
#
# Write source file list and GUID file list to an intermediate file
# as the input for EOT tool and dispatch List as the output file
@@ -896,6 +898,8 @@
# @param File The file object for report
#
def _GenerateExecutionOrderReport(self, File):
+ if len(self.ItemList) == 0:
+ return
FileWrite(File, gSectionStart)
FileWrite(File, "Execution Order Prediction")
FileWrite(File, "*P PEI phase")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|