summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds
diff options
context:
space:
mode:
authorFan, ZhijuX <zhijux.fan@intel.com>2019-01-15 17:13:59 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-01-21 18:03:31 +0800
commit5f7650e49727526f402a6d89fb0780b847bb475f (patch)
tree6168485ade9bc3641824714214b2c1df13914d2c /BaseTools/Source/Python/GenFds
parent350c9ae081a54628e2ccee9fc2d3617f670ba4aa (diff)
downloadedk2-5f7650e49727526f402a6d89fb0780b847bb475f.tar.gz
edk2-5f7650e49727526f402a6d89fb0780b847bb475f.tar.bz2
edk2-5f7650e49727526f402a6d89fb0780b847bb475f.zip
BaseTools:The BuildOptionPcd value is wrong
In GenFds.py, Due to the second assignment, the value is wrong Its value should a list, not a string.and this line is not required Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds')
-rw-r--r--BaseTools/Source/Python/GenFds/GenFds.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/GenFds/GenFds.py b/BaseTools/Source/Python/GenFds/GenFds.py
index 5a166bf455..2a5d473e3f 100644
--- a/BaseTools/Source/Python/GenFds/GenFds.py
+++ b/BaseTools/Source/Python/GenFds/GenFds.py
@@ -189,7 +189,6 @@ def GenFdsApi(FdsCommandDict, WorkSpaceDataBase=None):
else:
EdkLogger.error("GenFds", OPTION_MISSING, "Missing active platform")
- GlobalData.BuildOptionPcd = FdsCommandDict.get("OptionPcd") if FdsCommandDict.get("OptionPcd") else {}
GenFdsGlobalVariable.ActivePlatform = PathClass(NormPath(ActivePlatform))
if FdsCommandDict.get("conf_directory"):