BaseTools:GuidedSectionTools.txt is not generated correctly
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2538 For LzmaCompress or BrotliCompress, the platform may use the different options and add their batch file, such as LzmaCompressPlatform. Then, specify it in platform.dsc [BuildOptions] to override the default one in tools_def.txt. *_*_*_LZMA_PATH = LzmaCompressPlatform This override tool will be used. But, its name is not specified in the generated GuidedSectionTools.txt. Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
f34c7645bd
commit
8c944c9383
@ -866,7 +866,8 @@ class PlatformAutoGen(AutoGen):
|
||||
Value += " " + self._BuildOptionWithToolDef(RetVal)[Tool][Attr]
|
||||
else:
|
||||
Value = self._BuildOptionWithToolDef(RetVal)[Tool][Attr]
|
||||
|
||||
Def = '_'.join([self.BuildTarget, self.ToolChain, self.Arch, Tool, Attr])
|
||||
self.Workspace.ToolDef.ToolsDefTxtDictionary[Def] = Value
|
||||
if Attr == "PATH":
|
||||
# Don't put MAKE definition in the file
|
||||
if Tool != "MAKE":
|
||||
|
Reference in New Issue
Block a user