]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools:The BuildOptionPcd value is wrong
authorFan, ZhijuX <zhijux.fan@intel.com>
Tue, 15 Jan 2019 09:13:59 +0000 (17:13 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Mon, 21 Jan 2019 10:03:31 +0000 (18:03 +0800)
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>
BaseTools/Source/Python/GenFds/GenFds.py

index 5a166bf45561cb0c46275b48616c4ebe6c340747..2a5d473e3f59504a8272a05a9f5bfd110bf6c52a 100644 (file)
@@ -189,7 +189,6 @@ def GenFdsApi(FdsCommandDict, WorkSpaceDataBase=None):
         else:\r
             EdkLogger.error("GenFds", OPTION_MISSING, "Missing active platform")\r
 \r
-        GlobalData.BuildOptionPcd = FdsCommandDict.get("OptionPcd") if FdsCommandDict.get("OptionPcd") else {}\r
         GenFdsGlobalVariable.ActivePlatform = PathClass(NormPath(ActivePlatform))\r
 \r
         if FdsCommandDict.get("conf_directory"):\r