# @param Dict dictionary contains macro and its value\r
# @retval tuple (File list, boolean)\r
#\r
- def GetFileList(FfsInf, FileType, FileExtension, Dict = {}, IsMakefile=False):\r
+ def GetFileList(FfsInf, FileType, FileExtension, Dict = None, IsMakefile=False, SectionType=None):\r
IsSect = FileType in Section.SectFileType\r
\r
if FileExtension is not None:\r
else:\r
GenFdsGlobalVariable.InfLogger ("\nCurrent ARCH \'%s\' of File %s is not in the Support Arch Scope of %s specified by INF %s in FDF" %(FfsInf.CurrentArch, File.File, File.Arch, FfsInf.InfFileName))\r
\r
+ elif FileType is None and SectionType == BINARY_FILE_TYPE_RAW:\r
+ for File in FfsInf.BinFileList:\r
+ if File.Ext == Suffix:\r
+ FileList.append(File.Path)\r
+\r
if (not IsMakefile and Suffix is not None and os.path.exists(FfsInf.EfiOutputPath)) or (IsMakefile and Suffix is not None):\r
#\r
# Get Makefile path and time stamp\r