]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Correct report the line number in INF file issue
authorYunhua Feng <fengyunhua@byosoft.com.cn>
Fri, 18 Dec 2020 03:07:50 +0000 (11:07 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 22 Dec 2020 02:21:26 +0000 (02:21 +0000)
commitb6e360874f4da1eb2ad82dac00938d1286741884
tree305ea21e28600bf23cb8007d04f3e627601a6a71
parent6899e6789a7f978175fc9cafec3459e4f4f8e1dc
BaseTools: Correct report the line number in INF file issue

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3127

If one protocol is not found in package dec file, Build will report the
error message that module.inf(-1): error 4000: Value of Protocol
[gXxxProtocolGuid] is not found under [Protocols] section in MdePkg.dec.

Here, -1 should be the line number of this protocol in module INF file.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Workspace/MetaFileTable.py