diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2018-01-31 16:49:14 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-01 09:21:47 +0800 |
commit | 6f49996cedfb198beb374ea0cb89a06a71ef960c (patch) | |
tree | cebcdee6a3a775494d658bc0330141994c2d3bb5 /BaseTools/Source/Python/GenFds | |
parent | 81add864f4af238a2dfb702904a6abec12738b9d (diff) | |
download | edk2-6f49996cedfb198beb374ea0cb89a06a71ef960c.tar.gz edk2-6f49996cedfb198beb374ea0cb89a06a71ef960c.tar.bz2 edk2-6f49996cedfb198beb374ea0cb89a06a71ef960c.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/GenFds')
-rw-r--r-- | BaseTools/Source/Python/GenFds/FfsInfStatement.py | 1 | ||||
-rw-r--r-- | BaseTools/Source/Python/GenFds/GenFds.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/GenFds/FfsInfStatement.py b/BaseTools/Source/Python/GenFds/FfsInfStatement.py index baee543698..b0b242be8d 100644 --- a/BaseTools/Source/Python/GenFds/FfsInfStatement.py +++ b/BaseTools/Source/Python/GenFds/FfsInfStatement.py @@ -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.
diff --git a/BaseTools/Source/Python/GenFds/GenFds.py b/BaseTools/Source/Python/GenFds/GenFds.py index 4a5d6f476a..dcba9f24cb 100644 --- a/BaseTools/Source/Python/GenFds/GenFds.py +++ b/BaseTools/Source/Python/GenFds/GenFds.py @@ -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:
|