X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=bootstrap;h=071ee2b0ac40300ec09568f6dd6662ca6422b8d5;hp=81c9804904efb3c128c4fd233202a67e73a05a0c;hb=a57daf23db62738754c309dfcda0f4f3cfa62fa6;hpb=70b15389962637f13f5f3f10a6beebabed419c69 diff --git a/bootstrap b/bootstrap index 81c9804904..071ee2b0ac 100755 --- a/bootstrap +++ b/bootstrap @@ -26,16 +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. Build Jim Tcl" -echo "" -echo "git submodule init" -echo "git submodule update" -echo "cd jimtcl" -echo "./configure --with-jim-ext=nvp" -echo "make" -echo "make install" -echo "" -echo "2. Configure" echo "./configure --enable-maintainer-mode ...."