Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed the error message to be more meaningful when a module cannot …
…be built

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1247 7335b38e-4728-0410-8992-fb3ffe349368
  • Loading branch information
jwang36 committed May 29, 2008
1 parent 55300b4 commit 8b12290
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Python/AutoGen/GenMake.py
Expand Up @@ -459,7 +459,7 @@ def _CreateTemplateDict(self):
if "Dynamic-Library-File" in self.DestFileDatabase:
self.ResultFileList = self.DestFileDatabase["Dynamic-Library-File"]
if len(self.ResultFileList) == 0:
EdkLogger.error("AutoGen", AUTOGEN_ERROR, "Don't know how to end the module build")
EdkLogger.error("AutoGen", AUTOGEN_ERROR, "Nothing found for build", ExtraData=str(self._AutoGenObject))

SourceFileMacroNameList = []
SourceFileMacroList = [] # macro name = file list
Expand Down Expand Up @@ -756,6 +756,7 @@ def ProcessSourceFileList(self):
NewDepSet -= DepSet
self.FileDependency[File] = ["$(COMMON_DEPS)"] + list(NewDepSet)

# EdkLogger.verbose("Files to be built in %s :\n\t %s\n" % (str(self._AutoGenObject), "\n\t".join(self.FileDependency.keys())))
for File, TargetTemplate in self.FileBuildTargetList:
if File not in self.FileDependency:
self.BuildTargetList.append(TargetTemplate)
Expand Down

0 comments on commit 8b12290

Please sign in to comment.