## @file\r
# process OptionROM generation from INF statement\r
#\r
-# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# @param self The object pointer\r
# @retval string Generated .efi file name\r
#\r
- def GenFfs(self):\r
+ def GenFfs(self, IsMakefile=False):\r
#\r
# Parse Inf file get Module related information\r
#\r
# For the rule only has simpleFile\r
#\r
if isinstance (Rule, RuleSimpleFile.RuleSimpleFile) :\r
- EfiOutputList = self.__GenSimpleFileSection__(Rule)\r
+ EfiOutputList = self.__GenSimpleFileSection__(Rule, IsMakefile=IsMakefile)\r
return EfiOutputList\r
#\r
# For Rule has ComplexFile\r
#\r
elif isinstance(Rule, RuleComplexFile.RuleComplexFile):\r
- EfiOutputList = self.__GenComplexFileSection__(Rule)\r
+ EfiOutputList = self.__GenComplexFileSection__(Rule, IsMakefile=IsMakefile)\r
return EfiOutputList\r
\r
## __GenSimpleFileSection__() method\r
# @param Rule The rule object used to generate section\r
# @retval string File name of the generated section file\r
#\r
- def __GenSimpleFileSection__(self, Rule):\r
+ def __GenSimpleFileSection__(self, Rule, IsMakefile = False):\r
#\r
# Prepare the parameter of GenSection\r
#\r
# @param Rule The rule object used to generate section\r
# @retval string File name of the generated section file\r
#\r
- def __GenComplexFileSection__(self, Rule):\r
+ def __GenComplexFileSection__(self, Rule, IsMakefile=False):\r
\r
OutputFileList = []\r
for Sect in Rule.SectionList:\r