Fixed a R8 module build issue, in which .dxs file will cause source files not to...
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 9 Apr 2008 14:10:20 +0000 (14:10 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 9 Apr 2008 14:10:20 +0000 (14:10 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1135 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Workspace/WorkspaceDatabase.py

index b016af7..32b14e5 100644 (file)
@@ -1371,7 +1371,7 @@ class InfBuildData(ModuleBuildClassObject):
                     if not ValidFile(File, self._ModuleDir):\r
                         EdkLogger.error('build', FILE_NOT_FOUND, ExtraData=File,\r
                                         File=self.DescFilePath, Line=LineNo)\r
-                    if self._Sources == None:\r
+                    if self.Sources == None:\r
                         self._Sources = []\r
                     self._Sources.append(ModuleSourceFileClass(File, "", "", "", ""))\r
                 else:\r