]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
edk2: .git can be a file
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 7 Mar 2022 11:51:09 +0000 (12:51 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Mar 2022 06:18:30 +0000 (07:18 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
roms/Makefile.edk2

index 3d75a842a4dff4b39b5867805be685cecee0814d..6801ea62e8f1c0aed57eff5118d22caeca094d74 100644 (file)
@@ -51,7 +51,7 @@ all: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \
 # we're building from a tarball and that they've already been fetched by
 # make-release/tarball scripts.
 submodules:
-       if test -d edk2/.git; then \
+       if test -e edk2/.git; then \
                cd edk2 && git submodule update --init --force -- \
                        ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \
                        BaseTools/Source/C/BrotliCompress/brotli \