diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2018-01-29 14:09:36 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-01 09:21:45 +0800 |
commit | 81add864f4af238a2dfb702904a6abec12738b9d (patch) | |
tree | 09c4e62ecbc1e16db17b125544fb2ac5e4d07c38 /BaseTools/Source/Python/Workspace/DecBuildData.py | |
parent | 5db9414cc1b9b449c70a974f0aa0d17b41d09629 (diff) | |
download | edk2-81add864f4af238a2dfb702904a6abec12738b9d.tar.gz edk2-81add864f4af238a2dfb702904a6abec12738b9d.tar.bz2 edk2-81add864f4af238a2dfb702904a6abec12738b9d.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DecBuildData.py')
-rw-r--r-- | BaseTools/Source/Python/Workspace/DecBuildData.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/DecBuildData.py b/BaseTools/Source/Python/Workspace/DecBuildData.py index f6b908dee6..2fd3820dcc 100644 --- a/BaseTools/Source/Python/Workspace/DecBuildData.py +++ b/BaseTools/Source/Python/Workspace/DecBuildData.py @@ -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:
|