GenFds GenSection will search the output file based on the file extension.
If the output file has no extension, it should be skip.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Andrew Fish <afish@apple.com>
Tuple = os.walk(FfsInf.EfiOutputPath)\r
for Dirpath, Dirnames, Filenames in Tuple:\r
for F in Filenames:\r
- if os.path.splitext(F)[1] in (Suffix):\r
+ if os.path.splitext(F)[1] == Suffix:\r
FullName = os.path.join(Dirpath, F)\r
if os.path.getmtime(FullName) > os.path.getmtime(Makefile):\r
FileList.append(FullName)\r