]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/GenC.py
BaseTools: Add build error detection for Dynamic PCD name conflict
authorYonghong Zhu <yonghong.zhu@intel.com>
Mon, 30 Nov 2015 03:40:37 +0000 (03:40 +0000)
committeryzhu52 <yzhu52@Edk2>
Mon, 30 Nov 2015 03:40:37 +0000 (03:40 +0000)
commit38b986e3d01e9a1f169e4c3f13a43228913572aa
tree045be412a126fcab10fe48fa6f9468ba25006114
parentfb3d22793e916e4fc8439abc72c1c1a964abf7d0
BaseTools: Add build error detection for Dynamic PCD name conflict

when multiple Dynamic PCD have different token space guid but same PCD
name, it is difficult for user to check why the generated autogen.c and
autogen.h are not consistent. so we add a check before generating
autogen.c and report error directly that user can know what happened
immediately.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19027 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Source/Python/AutoGen/GenC.py