]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Parse PCD GUID name in FILE statement issue
authorYunhua Feng <yunhuax.feng@intel.com>
Mon, 9 Apr 2018 01:07:09 +0000 (09:07 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 10 Apr 2018 02:09:45 +0000 (10:09 +0800)
commitb9a6d9d7ca59563b769fbf0218f204913bddf45d
treeda5075f86e394589b2cad49fb3915ecca1811725
parent98120f5fe2199de29c0cce8e92c692b23adf0cf7
BaseTools: Parse PCD GUID name in FILE statement issue

FDF format as below:
FILE APPLICATION = PCD(PcdToken.PcdCName) {

}
when parse PCD, need get all PCDs from Platform and Packages,
use self.BuildObject[self.Platform, Arch] get some modules is wrong.
so use self.BuildObject[self.Platform, Arch, TargetName, ToolChainTag]
get all modules.

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/Workspace/WorkspaceDatabase.py