From: Øyvind Harboe Date: Wed, 22 Dec 2010 13:29:34 +0000 (+0100) Subject: bootstrap: by default the submodules are initialized X-Git-Tag: v0.5.0-rc1~265 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=37f4978f95a989d6bfcaf9aff354ee23a0855b92;p=openocd bootstrap: by default the submodules are initialized use "nosubmodule" to skip setting up submodules. Signed-off-by: Øyvind Harboe --- diff --git a/bootstrap b/bootstrap index 3452a315..071ee2b0 100755 --- a/bootstrap +++ b/bootstrap @@ -26,12 +26,15 @@ automake --gnu --add-missing --copy # AM_MAINTAINER_MODE requires --enable-maintainer-mode from everyone using # current source snapshots (working from GIT, or some source snapshot, etc) # otherwise the documentation will fail to build due to missing version.texi + +if [ -n $1 ] || [ $1 != nosubmodule ] +then + echo "Setting up submodules" + git submodule init + git submodule update +else + echo "Skipping submodule setup" +fi + echo "Bootstrap complete. Quick start build instructions:" -echo "" -echo "1. Fetch Jim Tcl" -echo "" -echo "git submodule init" -echo "git submodule update" -echo "" -echo "2. Configure" echo "./configure --enable-maintainer-mode ...."