BaseTools: Support multiple .h file
for structure Pcd declaration in DEC file.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(cherry picked from commit 81add864f4
)
This commit is contained in:
committed by
Yonghong Zhu
parent
cb3a39107e
commit
fde92af67d
@ -376,7 +376,7 @@ class DecBuildData(PackageBuildClassObject):
|
||||
struct_pcd = StructurePcd()
|
||||
for item,LineNo in s_pcd_set[pcdname]:
|
||||
if "<HeaderFiles>" in item.TokenCName:
|
||||
struct_pcd.StructuredPcdIncludeFile = item.DefaultValue
|
||||
struct_pcd.StructuredPcdIncludeFile.append(item.DefaultValue)
|
||||
elif "<Packages>" in item.TokenCName:
|
||||
dep_pkgs.append(item.DefaultValue)
|
||||
elif item.DatumType == item.TokenCName:
|
||||
|
Reference in New Issue
Block a user