mirror of https://github.com/acidanthera/audk.git
BaseTools: Remove EDK_SOURCE keyword from GenFds tool.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1350 Remove unused EDK_SOURCE keyword from GenFds tool. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
0006d3fd0f
commit
7f98ef37f6
|
@ -75,7 +75,6 @@ def resetFdsGlobalVariable():
|
|||
GenFdsGlobalVariable.WorkSpace = None
|
||||
GenFdsGlobalVariable.WorkSpaceDir = ''
|
||||
GenFdsGlobalVariable.ConfDir = ''
|
||||
GenFdsGlobalVariable.EdkSourceDir = ''
|
||||
GenFdsGlobalVariable.OutputDirFromDscDict = {}
|
||||
GenFdsGlobalVariable.TargetName = ''
|
||||
GenFdsGlobalVariable.ToolChainTag = ''
|
||||
|
@ -143,8 +142,6 @@ def GenFdsApi(FdsCommandDict, WorkSpaceDataBase=None):
|
|||
else:
|
||||
Workspace = os.path.normcase(FdsCommandDict.get("Workspace",os.environ.get('WORKSPACE')))
|
||||
GenFdsGlobalVariable.WorkSpaceDir = Workspace
|
||||
if 'EDK_SOURCE' in os.environ:
|
||||
GenFdsGlobalVariable.EdkSourceDir = os.path.normcase(os.environ['EDK_SOURCE'])
|
||||
if FdsCommandDict.get("debug"):
|
||||
GenFdsGlobalVariable.VerboseLogger("Using Workspace:" + Workspace)
|
||||
if FdsCommandDict.get("GenfdsMultiThread"):
|
||||
|
|
|
@ -50,7 +50,6 @@ class GenFdsGlobalVariable:
|
|||
WorkSpace = None
|
||||
WorkSpaceDir = ''
|
||||
ConfDir = ''
|
||||
EdkSourceDir = ''
|
||||
OutputDirFromDscDict = {}
|
||||
TargetName = ''
|
||||
ToolChainTag = ''
|
||||
|
@ -340,7 +339,6 @@ class GenFdsGlobalVariable:
|
|||
GenFdsGlobalVariable.ToolChainTag = GlobalData.gGlobalDefines["TOOL_CHAIN_TAG"]
|
||||
GenFdsGlobalVariable.TargetName = GlobalData.gGlobalDefines["TARGET"]
|
||||
GenFdsGlobalVariable.ActivePlatform = GlobalData.gActivePlatform
|
||||
GenFdsGlobalVariable.EdkSourceDir = GlobalData.gGlobalDefines["EDK_SOURCE"]
|
||||
GenFdsGlobalVariable.ConfDir = GlobalData.gConfDirectory
|
||||
GenFdsGlobalVariable.EnableGenfdsMultiThread = GlobalData.gEnableGenfdsMultiThread
|
||||
for Arch in ArchList:
|
||||
|
@ -757,7 +755,6 @@ class GenFdsGlobalVariable:
|
|||
return None
|
||||
|
||||
Dict = {'$(WORKSPACE)': GenFdsGlobalVariable.WorkSpaceDir,
|
||||
'$(EDK_SOURCE)': GenFdsGlobalVariable.EdkSourceDir,
|
||||
# '$(OUTPUT_DIRECTORY)': GenFdsGlobalVariable.OutputDirFromDsc,
|
||||
'$(TARGET)': GenFdsGlobalVariable.TargetName,
|
||||
'$(TOOL_CHAIN_TAG)': GenFdsGlobalVariable.ToolChainTag,
|
||||
|
|
Loading…
Reference in New Issue