roms/Makefile.edk2: don't pull in submodules when building from tarball
commitf3e330e3c319160ac04954399b5a10afc965098c
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 12 Sep 2019 23:12:02 +0000 (12 18:12 -0500)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 7 Oct 2019 12:54:48 +0000 (7 14:54 +0200)
treede02d3fc047f235f08ecce890bcfc7abd46318f4
parent45c61c6c23918e3b05ed9ecac5b2328ebae5f774
roms/Makefile.edk2: don't pull in submodules when building from tarball

Currently the `make efi` target pulls submodules nested under the
roms/edk2 submodule as dependencies. However, when we attempt to build
from a tarball this fails since we are no longer in a git tree.

A preceding patch will pre-populate these submodules in the tarball,
so assume this build dependency is only needed when building from a
git tree.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Bruce Rogers <brogers@suse.com>
Cc: qemu-stable@nongnu.org # v4.1.0
Reported-by: Bruce Rogers <brogers@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Message-Id: <20190912231202.12327-3-mdroth@linux.vnet.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
roms/Makefile.edk2