BaseTools/GenFds: Fix reloc-stripped file name typo

This commit is contained in:
Marvin Häuser 2023-05-01 17:58:07 +02:00 committed by Mikhail Krichanov
parent 5d71d5f204
commit cf1422b7eb

View File

@ -783,7 +783,7 @@ class FfsInfStatement(FfsInfStatementClassObject):
if not os.path.exists(FileBeforeStrip) or \
(os.path.getmtime(File) > os.path.getmtime(FileBeforeStrip)):
CopyLongFilePath(File, FileBeforeStrip)
StrippedFile = os.path.join(self.OutputPath, ModuleName + '.stipped')
StrippedFile = os.path.join(self.OutputPath, ModuleName + '.stripped')
GenFdsGlobalVariable.GenerateFirmwareImage(
StrippedFile,
File,
@ -817,7 +817,7 @@ class FfsInfStatement(FfsInfStatementClassObject):
(os.path.getmtime(GenSecInputFile) > os.path.getmtime(FileBeforeStrip)):
CopyLongFilePath(GenSecInputFile, FileBeforeStrip)
StrippedFile = os.path.join(self.OutputPath, ModuleName + '.stipped')
StrippedFile = os.path.join(self.OutputPath, ModuleName + '.stripped')
GenFdsGlobalVariable.GenerateFirmwareImage(
StrippedFile,
GenSecInputFile,