diff options
author | Liming Gao <liming.gao@intel.com> | 2018-02-26 15:15:02 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-27 18:42:34 +0800 |
commit | 0939fda93cbc252cd5b4ed4f026ed6ec9e07687f (patch) | |
tree | f940d52d9a0642b5470eb9fb5262fe0245eba243 /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | 006c2647dc60cd7e9d32c3555a3bf7cfd890ddd6 (diff) | |
download | edk2-0939fda93cbc252cd5b4ed4f026ed6ec9e07687f.tar.gz edk2-0939fda93cbc252cd5b4ed4f026ed6ec9e07687f.tar.bz2 edk2-0939fda93cbc252cd5b4ed4f026ed6ec9e07687f.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
-rw-r--r-- | BaseTools/Source/Python/Workspace/DscBuildData.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index 75b877a5aa..f90da8e501 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -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:
|