]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fixed the issue when ToolDefinitionFile is not generated
authorBob Feng <bob.c.feng@intel.com>
Thu, 11 Jul 2019 00:57:58 +0000 (08:57 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 12 Jul 2019 09:11:58 +0000 (17:11 +0800)
commit2d100d1d73a9f9a38f224e87c48276ba1e84d8ce
treeda0231989d47603fb285859a526a5047df15d2d5
parentc630f69df01e832aeae45c37f33d2b93e98c9389
BaseTools: Fixed the issue when ToolDefinitionFile is not generated

ToolDefinitionFile is generated by PlatformAutoGen.ToolDefinition()
Code assume ToolDefinition is always called before using
ToolDefinitionFile, but in some cases, it's not true.

This patch is to fix this issue.

Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py