mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
350c9ae081
commit
5f7650e497
|
@ -189,7 +189,6 @@ def GenFdsApi(FdsCommandDict, WorkSpaceDataBase=None):
|
||||||
else:
|
else:
|
||||||
EdkLogger.error("GenFds", OPTION_MISSING, "Missing active platform")
|
EdkLogger.error("GenFds", OPTION_MISSING, "Missing active platform")
|
||||||
|
|
||||||
GlobalData.BuildOptionPcd = FdsCommandDict.get("OptionPcd") if FdsCommandDict.get("OptionPcd") else {}
|
|
||||||
GenFdsGlobalVariable.ActivePlatform = PathClass(NormPath(ActivePlatform))
|
GenFdsGlobalVariable.ActivePlatform = PathClass(NormPath(ActivePlatform))
|
||||||
|
|
||||||
if FdsCommandDict.get("conf_directory"):
|
if FdsCommandDict.get("conf_directory"):
|
||||||
|
|
Loading…
Reference in New Issue