X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FGenFds%2FFfsInfStatement.py;h=5364569b96d7725a99a7bdb1b9057747437a722a;hp=0dbffffc9a151b5529197a8d8830cf292befc2c0;hb=a146c532c754106431b063fec9985a838afd82be;hpb=9a8d7aa7f796ce68ece2815d268889ac4e2ac318 diff --git a/BaseTools/Source/Python/GenFds/FfsInfStatement.py b/BaseTools/Source/Python/GenFds/FfsInfStatement.py index 0dbffffc9a..5364569b96 100644 --- a/BaseTools/Source/Python/GenFds/FfsInfStatement.py +++ b/BaseTools/Source/Python/GenFds/FfsInfStatement.py @@ -502,9 +502,11 @@ class FfsInfStatement(FfsInfStatementClassObject): # For the rule only has simpleFile # MakefilePath = None + if self.IsBinaryModule: + IsMakefile = False if IsMakefile: MakefilePath = self.InfFileName, Arch - if isinstance (Rule, RuleSimpleFile.RuleSimpleFile) : + if isinstance (Rule, RuleSimpleFile.RuleSimpleFile): SectionOutputList = self.__GenSimpleFileSection__(Rule, IsMakefile=IsMakefile) FfsOutput = self.__GenSimpleFileFfs__(Rule, SectionOutputList, MakefilePath=MakefilePath) return FfsOutput