mirror_edk2/BaseTools/Source/Python/Workspace
Yonghong Zhu 5d54ab94db BaseTools: Fix the bug for Pcd used in command line's override
V2: remove the not used parameter i

Fix the bug for Pcd used in command line not override the Pcd used
in the [component] driver's sub-section.

Case:
DSC file:
[PcdsFixedAtBuild]
TokenSpaceGuid.PcdTest

[Components]
 TestPkg/TestDriver.inf {
  <PcdsFixedAtBuild>
  TokenSpaceGuid.PcdTest|"b"
  }

build command with --pcd TokenSpaceGuid.PcdTest="AAAABB"

Then we found the Pcd value in the AutoGen.c file is incorrect,
because of the incorrect logic that use the pcd in the [component]
section to re-override it.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-10-25 15:16:16 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
BuildClassObject.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
DecBuildData.py BaseTools: Don't save unused workspace data 2018-09-20 22:18:07 +08:00
DscBuildData.py BaseTools: Fix the bug for Pcd used in command line's override 2018-10-25 15:16:16 +08:00
InfBuildData.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
MetaDataTable.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
MetaFileCommentParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
MetaFileParser.py BaseTools: Support to use struct name as datum type before max size 2018-10-16 14:48:49 +08:00
MetaFileTable.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
WorkspaceCommon.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
WorkspaceDatabase.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00