summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-03-15 22:59:29 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-03-24 16:12:38 +0800
commit2f2c51acfb70efe3dd02022ca09dd853601d8acd (patch)
tree3a45bb1a11141b6d4d33a40f9c35428491e9dee0 /BaseTools/Source/Python/Eot
parentf293841f9335c4d5d391279b498a0e09f0cc87da (diff)
downloadedk2-2f2c51acfb70efe3dd02022ca09dd853601d8acd.tar.gz
edk2-2f2c51acfb70efe3dd02022ca09dd853601d8acd.tar.bz2
edk2-2f2c51acfb70efe3dd02022ca09dd853601d8acd.zip
BaseTools: Remove the logic SourceOverridePath
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1350 SOURCE_OVERRIDE_PATH is for EDK component INF files. The corresponding logic should be removed. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Eot')
-rw-r--r--BaseTools/Source/Python/Eot/EotMain.py2
-rw-r--r--BaseTools/Source/Python/Eot/InfParserLite.py6
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: