]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GenMake: Use ToolDefinition as fallback option
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 23 Sep 2021 08:59:00 +0000 (16:59 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 29 Sep 2021 14:31:37 +0000 (14:31 +0000)
commitc214128a38bd73c8a3aaad4b1522f3a89c2a5cfc
tree09dcfcafa88e1efcb972e4a1fc6197961ebaf168
parent1ce6ceb75bc7b8c3f60c99e79a8373731d3509a4
BaseTools/GenMake: Use ToolDefinition as fallback option

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3653

Use the value set in tools_def.txt when the makefile type is
not explicitly set via BuildOption. This allows to have a
valid default makefile name instead of an empty string.

Also use GMAKE_FILETYPE instead of hard-coded "gmake".

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Chris Jones <christopher.jones@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/GenMake.py