diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-22 14:29:34 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-22 14:39:16 +0100 |
commit | 37f4978f95a989d6bfcaf9aff354ee23a0855b92 (patch) | |
tree | 3d452c2a43ca080e4bbfd848c2a83afaeb1d88c6 /bootstrap | |
parent | 07dcb5af12b81eec16fd023247d6f723b0206f3d (diff) | |
download | openocd+libswd-37f4978f95a989d6bfcaf9aff354ee23a0855b92.tar.gz openocd+libswd-37f4978f95a989d6bfcaf9aff354ee23a0855b92.tar.bz2 openocd+libswd-37f4978f95a989d6bfcaf9aff354ee23a0855b92.tar.xz openocd+libswd-37f4978f95a989d6bfcaf9aff354ee23a0855b92.zip |
bootstrap: by default the submodules are initialized
use "nosubmodule" to skip setting up submodules.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -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 ...." |