]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Add PCDs conditional operator function
authorYunhua Feng <yunhuax.feng@intel.com>
Wed, 31 May 2017 05:33:49 +0000 (13:33 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Mon, 10 Jul 2017 01:58:13 +0000 (09:58 +0800)
commitbc0d7233925e82ddb8423532b2b90a3ad1ef1e49
tree8e43e113377ceac79c35ad16f4f9c6186c255539
parente9651c12721d882f384ef10b7467af4ba56387c3
BaseTools: Add PCDs conditional operator function

Parse PCDS value like A >B ? C :D
if A > B is True, the result is C, else the result is D

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/Common/Expression.py