BaseTools: Fix GenSec can't found the depex file
Filter the FileList when multiple genfds thread options is not enabled. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
5b8766bb92
commit
cf245466a5
@ -92,9 +92,10 @@ class EfiSection (EfiSectionClassObject):
|
||||
elif os.path.exists(Filename):
|
||||
FileList.append(Filename)
|
||||
elif '.depex' in FfsInf.FinalTargetSuffixMap or FfsInf.Depex:
|
||||
FileList.append(Filename)
|
||||
if IsMakefile:
|
||||
FileList.append(Filename)
|
||||
else:
|
||||
FileList, IsSect = Section.Section.GetFileList(FfsInf, self.FileType, self.FileExtension, Dict)
|
||||
FileList, IsSect = Section.Section.GetFileList(FfsInf, self.FileType, self.FileExtension, Dict, IsMakefile=IsMakefile)
|
||||
if IsSect :
|
||||
return FileList, self.Alignment
|
||||
|
||||
|
Reference in New Issue
Block a user