summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/AutoGen.py
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2018-04-10 21:26:32 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-04-11 09:55:41 +0800
commit8b0e67821bd66af70433ee4bb858325f3033609a (patch)
treeaf5e90957949873d8ff764eb07644df52dc116e0 /BaseTools/Source/Python/AutoGen/AutoGen.py
parent6301d2e24ab67786fa36a6d87e7a0f6625e7b831 (diff)
downloadedk2-8b0e67821bd66af70433ee4bb858325f3033609a.tar.gz
edk2-8b0e67821bd66af70433ee4bb858325f3033609a.tar.bz2
edk2-8b0e67821bd66af70433ee4bb858325f3033609a.zip
BaseTools: Fix the build error caused by eca980c0c899
Roll back the fixed at build pcd collection to include the pcd in Module and Library. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGen.py')
-rw-r--r--BaseTools/Source/Python/AutoGen/AutoGen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py
index 9280ae4c7d..dbc9f893c2 100644
--- a/BaseTools/Source/Python/AutoGen/AutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/AutoGen.py
@@ -1279,7 +1279,7 @@ class PlatformAutoGen(AutoGen):
FixedAtBuildPcds = {}
ShareFixedAtBuildPcdsSameValue = {}
for Module in LibAuto._ReferenceModules:
- for Pcd in Module.FixedAtBuildPcds:
+ for Pcd in Module.FixedAtBuildPcds + LibAuto.FixedAtBuildPcds:
key = ".".join((Pcd.TokenSpaceGuidCName,Pcd.TokenCName))
if key not in FixedAtBuildPcds:
ShareFixedAtBuildPcdsSameValue[key] = True