]> git.proxmox.com Git - pve-edk2-firmware.git/commitdiff
buildsys: defuse submodule target, only run when submodule dir seems empty
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Sep 2021 13:36:46 +0000 (15:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Sep 2021 13:36:46 +0000 (15:36 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index b65390e9790aee9f8664de639353229402210e1a..ebeeb6bed4c0c92dd50ac7c559b7ca166d216bdc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ ${DSC}: ${BUILDDIR}
 
 .PHONY: submodule
 submodule:
-       git submodule update --init --recursive
+       test -e edk2/Maintainers.txt || git submodule update --init --recursive
 
 ${SRCDIR}/Readme.md: submodule