aboutsummaryrefslogtreecommitdiff
path: root/roms/Makefile.edk2
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-03-07 12:51:09 +0100
committerGerd Hoffmann <kraxel@redhat.com>2022-03-15 07:18:30 +0100
commit4911df8a7a6af3e1452a7f368e543180c9efb19a (patch)
tree09a53d2dfab8833abca5504b3a089ab455fb371c /roms/Makefile.edk2
parentca26041500eb7e0f3bcd13841467a3dc23b96023 (diff)
edk2: .git can be a file
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'roms/Makefile.edk2')
-rw-r--r--roms/Makefile.edk22
1 files changed, 1 insertions, 1 deletions
diff --git a/roms/Makefile.edk2 b/roms/Makefile.edk2
index 3d75a842a4..6801ea62e8 100644
--- a/roms/Makefile.edk2
+++ b/roms/Makefile.edk2
@@ -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 \