mirror_edk2/BaseTools/Source/Python
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
..
AutoGen BaseTools: increment build generate inf file lost .depex file 2018-10-15 10:28:05 +08:00
BPDG Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
build BaseTools/EOT: Change to call a program instead of calling Python API. 2018-10-16 14:52:02 +08:00
Capsule BaseTools/Capsule: Support capsules without a payload header 2018-08-02 14:35:29 -07:00
Common BaseTools: Support to use struct name as datum type before max size 2018-10-16 14:48:49 +08:00
CommonDataClass BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Ecc Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Eot BaseTools/EOT: Change to call a program instead of calling Python API. 2018-10-16 14:52:02 +08:00
GenFds BaseTools: Fix regression boot hang issue by commit 0e982cf03d 2018-10-15 18:21:28 +08:00
GenPatchPcdTable Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
PatchPcdValue Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Pkcs7Sign Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Rsa2048Sha256Sign Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Table Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
TargetTool Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Trim Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
UPT Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Workspace BaseTools: Fix a bug --pcd option enable and use the pcd in expression 2018-10-18 09:36:27 +08:00
GNUmakefile Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
Makefile BaseTools: Update Makefile for ECC tool 2018-08-23 14:54:15 +08:00
sitecustomize.py BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00