mirror_edk2/BaseTools/Source/Python/Workspace
Yonghong Zhu 53c64f4286 BaseTools: Fix a bug --pcd option enable and use the pcd in expression
the case is:
in the DSC:
[PcdsFixedAtBuild.common]
 TokenSpaceGuid.TestFixedPcd|0xFFEAA000

[PcdsDynamicExDefault.common.DEFAULT]
!if TokenSpaceGuid.PcdFlag == TRUE
TokenSpaceGuid.PcdTest|TokenSpaceGuid.TestFixedPcd
!endif

Then build with --pcd TokenSpaceGuid.PcdFlag=TRUE, it report failure,
but if we build without this --pcd option, it could build success.
we found when the --pcd is enabled, the fixedatbuild pcds are not be
collected into expression to calculate.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=1256
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-18 09:36:27 +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 a bug --pcd option enable and use the pcd in expression 2018-10-18 09:36:27 +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