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>
This commit is contained in:
@ -1470,10 +1470,10 @@ class DscBuildData(PlatformBuildClassObject):
|
||||
Includes = {}
|
||||
for PcdName in StructuredPcds:
|
||||
Pcd = StructuredPcds[PcdName]
|
||||
IncludeFile = Pcd.StructuredPcdIncludeFile
|
||||
if IncludeFile not in Includes:
|
||||
Includes[IncludeFile] = True
|
||||
CApp = CApp + '#include <%s>\n' % (IncludeFile)
|
||||
for IncludeFile in Pcd.StructuredPcdIncludeFile:
|
||||
if IncludeFile not in Includes:
|
||||
Includes[IncludeFile] = True
|
||||
CApp = CApp + '#include <%s>\n' % (IncludeFile)
|
||||
CApp = CApp + '\n'
|
||||
|
||||
for PcdName in StructuredPcds:
|
||||
|
Reference in New Issue
Block a user