Fixed a bug about PCD override in [Components] section in DSC file
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 2 Jan 2008 02:48:06 +0000 (02:48 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 2 Jan 2008 02:48:06 +0000 (02:48 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@937 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Common/EdkIIWorkspaceBuild.py

index b91094f..0997a33 100755 (executable)
@@ -1047,7 +1047,8 @@ class WorkspaceBuild(object):
             #\r
             for Key in L.Pcds:\r
                 if Key not in Module.Pcds:\r
-                    Module.Pcds[Key] = L.Pcds[Key]\r
+                    LibPcd = L.Pcds[Key]\r
+                    Module.Pcds[Key] = self.FindPcd(Arch, str(Module), LibPcd.TokenCName, LibPcd.TokenSpaceGuidCName, LibPcd.Type, [])\r
             #\r
             # Merge GUIDs from library instance\r
             #\r