Changed StrGather behavior to be more R8 like
[people/mcb30/basetools.git] / Source / Python / AutoGen / GenMake.py
index f305aa8..295b18e 100755 (executable)
@@ -997,6 +997,9 @@ class Makefile(object):
         SourceDir = os.path.join(self.ModuleInfo.WorkspaceDir, self.ModuleInfo.SourceDir)\r
         for FileInfo in FileList:\r
             F, SrcFileType, SrcFileBuildRule = FileInfo\r
+            # no rule, no build\r
+            if SrcFileBuildRule == None:\r
+                continue\r
             if SrcFileType == "C-Code-File":\r
                 CCodeFlag = True\r
             SrcFileName = path.basename(F)\r