]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools: Library PCD type will inherit from the driver
authorYunhua Feng <yunhuax.feng@intel.com>
Mon, 14 May 2018 01:54:46 +0000 (09:54 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 22 May 2018 11:34:33 +0000 (19:34 +0800)
commit5a444dfd7c0039b33f0c26e1294297fb7e358f60
treec95aec7b4839a6dcde5121d061d9058f9c01ff0f
parent74f59e927520f50c4ebeeb2ccaa8e611b7d48dd1
BaseTools: Library PCD type will inherit from the driver

If a PCD is not referenced in global PCD section of DSC file at all,
but is referenced in module scope, then the default PCD type for libs
should be the module scoped PCD type.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=901
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py