diff options
Diffstat (limited to 'BaseTools/Source/Python/Eot')
-rw-r--r-- | BaseTools/Source/Python/Eot/EotMain.py | 2 | ||||
-rw-r--r-- | BaseTools/Source/Python/Eot/InfParserLite.py | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/BaseTools/Source/Python/Eot/EotMain.py b/BaseTools/Source/Python/Eot/EotMain.py index 4802aea8b1..1cf84d2465 100644 --- a/BaseTools/Source/Python/Eot/EotMain.py +++ b/BaseTools/Source/Python/Eot/EotMain.py @@ -1597,7 +1597,7 @@ class Eot(object): if not InfFile:
continue
EdkLogger.quiet("Parsing %s ..." % str(InfFile))
- EdkInfParser(InfFile, EotGlobalData.gDb, Inf_Files[InfFile], '')
+ EdkInfParser(InfFile, EotGlobalData.gDb, Inf_Files[InfFile])
EotGlobalData.gDb.Conn.commit()
EdkLogger.quiet("Building database for meta data files done!")
diff --git a/BaseTools/Source/Python/Eot/InfParserLite.py b/BaseTools/Source/Python/Eot/InfParserLite.py index cec083330b..bc575a642c 100644 --- a/BaseTools/Source/Python/Eot/InfParserLite.py +++ b/BaseTools/Source/Python/Eot/InfParserLite.py @@ -40,11 +40,8 @@ class EdkInfParser(object): # @param Filename: INF file name
# @param Database: Eot database
# @param SourceFileList: A list for all source file belonging this INF file
- # @param SourceOverridePath: Override path for source file
- # @param Edk_Source: Environment variable EDK_SOURCE
- # @param Efi_Source: Environment variable EFI_SOURCE
#
- def __init__(self, Filename = None, Database = None, SourceFileList = None, SourceOverridePath = None, Edk_Source = None, Efi_Source = None):
+ def __init__(self, Filename = None, Database = None, SourceFileList = None):
self.Identification = Identification()
self.Sources = []
self.Macros = {}
@@ -53,7 +50,6 @@ class EdkInfParser(object): self.TblFile = Database.TblFile
self.TblInf = Database.TblInf
self.FileID = -1
- self.SourceOverridePath = SourceOverridePath
# Load Inf file if filename is not None
if Filename is not None:
|