fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/31100 )
Change subject: gen_makefile.py: clone repos with --recurse-submodules ......................................................................
gen_makefile.py: clone repos with --recurse-submodules
Change-Id: Ie305422145aff257eeb6f13d82d6a978d6c2849a --- M gen_makefile.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: neels: Looks good to me, approved fixeria: Verified
diff --git a/gen_makefile.py b/gen_makefile.py index 6267888..d45e5e8 100755 --- a/gen_makefile.py +++ b/gen_makefile.py @@ -178,7 +178,7 @@ .make.{proj}.clone: @echo -e "\n\n\n===== $@\n" test -d {src} || mkdir -p {src} - test -d {src_proj} || ( git -C {src} clone "{url}/{proj}" "{proj}" && git -C "{src}/{proj}" remote set-url --push origin "{push_url}/{proj}" ) + test -d {src_proj} || ( git -C {src} clone --recurse-submodules "{url}/{proj}" "{proj}" && git -C "{src}/{proj}" remote set-url --push origin "{push_url}/{proj}" ) sync touch $@ '''