]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: introduce !error statement
authorYunhua Feng <yunhuax.feng@intel.com>
Sun, 17 Jun 2018 09:22:21 +0000 (17:22 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 22 Jun 2018 05:38:40 +0000 (13:38 +0800)
commit09ef8e92580caddc24f8f1db6ea0e8223890085f
tree98649a1da3637d25ba4ebb941b1d92b7388e8b54
parent58cf30f71f03bcf2fbf369d51e05c8f17176e129
BaseTools: introduce !error statement

The DSC and FDF file can use `!error` statement. The argument of this
statement is an error message, it causes build tool to stop at the
location where the statement is encountered and error message following
the `!error` statement is output as a message.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=701
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/Common/BuildToolError.py
BaseTools/Source/Python/Common/DataType.py
BaseTools/Source/Python/GenFds/FdfParser.py
BaseTools/Source/Python/Workspace/MetaFileParser.py