tools: only call git when necessary in OVMF Makefile
authorWei Liu <wei.liu2@citrix.com>
Tue, 15 Jan 2019 11:09:40 +0000 (11:09 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 16 Jan 2019 14:52:22 +0000 (14:52 +0000)
commit68292c94a60eab24514ab4a8e4772af24dead807
treeb5593d94260a4f385c36f343319a4e03a9b8b869
parent84323dfb9daac3b47919113f881c19cffe01fc22
tools: only call git when necessary in OVMF Makefile

Users may choose to export a snapshot of OVMF and build it
with xen.git supplied ovmf-makefile. In that case we don't
need to call `git submodule`.

Fixes b16281870e.

Reported-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/firmware/ovmf-makefile