Changed the error message to be more meaningful when a module cannot be built
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 29 May 2008 01:50:40 +0000 (01:50 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 29 May 2008 01:50:40 +0000 (01:50 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1247 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/AutoGen/GenMake.py

index e429936..282659d 100755 (executable)
@@ -459,7 +459,7 @@ cleanlib:
             if "Dynamic-Library-File" in self.DestFileDatabase:\r
                 self.ResultFileList = self.DestFileDatabase["Dynamic-Library-File"]\r
         if len(self.ResultFileList) == 0:\r
-            EdkLogger.error("AutoGen", AUTOGEN_ERROR, "Don't know how to end the module build")\r
+            EdkLogger.error("AutoGen", AUTOGEN_ERROR, "Nothing found for build", ExtraData=str(self._AutoGenObject))\r
 \r
         SourceFileMacroNameList = []\r
         SourceFileMacroList = [] # macro name = file list\r
@@ -756,6 +756,7 @@ cleanlib:
             NewDepSet -= DepSet\r
             self.FileDependency[File] = ["$(COMMON_DEPS)"] + list(NewDepSet)\r
 \r
+        # EdkLogger.verbose("Files to be built in %s :\n\t %s\n" % (str(self._AutoGenObject), "\n\t".join(self.FileDependency.keys())))\r
         for File, TargetTemplate in self.FileBuildTargetList:\r
             if File not in self.FileDependency:\r
                 self.BuildTargetList.append(TargetTemplate)\r