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>
(cherry picked from commit 0939fda93c
)
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user