mirror of https://github.com/acidanthera/audk.git
BaseTools: Add more error message when PcdValue is wrong
For structure PCD, its field name is wrong and cause build failure. Its build error message will output to let user aware what's wrong. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Feng Bob C <bob.c.feng@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
006c2647dc
commit
0939fda93c
|
@ -1944,6 +1944,8 @@ class DscBuildData(PlatformBuildClassObject):
|
|||
message_itmes = Message.split(":")
|
||||
Index = 0
|
||||
if "PcdValueInit.c" not in Message:
|
||||
if not MessageGroup:
|
||||
MessageGroup.append(Message)
|
||||
break
|
||||
else:
|
||||
for item in message_itmes:
|
||||
|
|
Loading…
Reference in New Issue