BaseTools: Structure Pcd in CommandLine.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -237,6 +237,7 @@ class FfsInfStatement(FfsInfStatementClassObject):
|
||||
InfPcds = Inf.Pcds
|
||||
Platform = GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
|
||||
FdfPcdDict = GenFdsGlobalVariable.FdfParser.Profile.PcdDict
|
||||
PlatformPcds = Platform.Pcds
|
||||
|
||||
# Workaround here: both build and GenFds tool convert the workspace path to lower case
|
||||
# But INF file path in FDF and DSC file may have real case characters.
|
||||
|
@ -302,9 +302,7 @@ def main():
|
||||
if ArchList != None:
|
||||
GenFdsGlobalVariable.ArchList = ArchList
|
||||
|
||||
if Options.OptionPcd:
|
||||
GlobalData.BuildOptionPcd = Options.OptionPcd
|
||||
CheckBuildOptionPcd()
|
||||
# Dsc Build Data will handle Pcd Settings from CommandLine.
|
||||
|
||||
"""Modify images from build output if the feature of loading driver at fixed address is on."""
|
||||
if GenFdsGlobalVariable.FixedLoadAddress:
|
||||
|
Reference in New Issue
Block a user