This is an automated email from Gerrit. "zapb <d...@zapb.de>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8381
-- gerrit commit 2d78bbf6d587ad92e06ac9dbfbfc3a3185727b8e Author: Marc Schink <d...@zapb.de> Date: Wed Jun 26 15:50:45 2024 +0200 bootstrap: Do not set up Git submodules by default Building OpenOCD with jimtcl and libjaylink Git submodules is deprecated and will be removed in the upcoming releases. The remaining 'git2cl' submodule is only required during the OpenOCD release process. Only set up Git submodules when the 'with-submodules' argument is used, for example during the OpenOCD release process or for the transition period until all submodules are replaced by external dependencies. Change-Id: Ia4fd765e3a2d6b2c40b084a1ffdf919d5f4f35bb Signed-off-by: Marc Schink <d...@zapb.de> diff --git a/bootstrap b/bootstrap index cf6167fff6..d054319e52 100755 --- a/bootstrap +++ b/bootstrap @@ -15,11 +15,11 @@ else exit 1 fi -if [ "$1" = "nosubmodule" ]; then - SKIP_SUBMODULE=1 +if [ "$1" = "with-submodules" ]; then + WITH_SUBMODULES=1 elif [ -n "$1" ]; then echo "$0: Illegal argument $1" - echo "USAGE: $0 [nosubmodule]" + echo "USAGE: $0 [with-submodules]" exit 1 fi @@ -34,12 +34,12 @@ autoheader --warnings=all automake --warnings=all --gnu --add-missing --copy ) -if [ -n "$SKIP_SUBMODULE" ]; then - echo "Skipping submodule setup" -else +if [ -n "$WITH_SUBMODULES" ]; then echo "Setting up submodules" git submodule init git submodule update +else + echo "Skipping submodule setup" fi if [ -x src/jtag/drivers/libjaylink/autogen.sh ]; then --