]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools: Fix the bug that incorrect size info in the Lib autogen
authorYonghong Zhu <yonghong.zhu@intel.com>
Mon, 9 Jul 2018 12:14:38 +0000 (20:14 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 10 Jul 2018 08:01:09 +0000 (16:01 +0800)
commit9edba51f93d8e81e09f905afc994efe02dbe524e
tree22575e3f7761fe82f3e3501fbee792b406623189
parentd7634dc0c5a83360b3b6c155df29c078ad9c77ce
BaseTools: Fix the bug that incorrect size info in the Lib autogen

The case is a PCD used in one library only, and in DSC component
section the PCD value is override in one of module inf. Then it cause
the bug the PCD size in the Lib autogen use the PCD value in the DSC
PCD section, but not use the override value.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py