summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2014-02-11 02:21:29 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2014-02-11 03:26:37 (GMT)
commitce3557225a4523c7081cadd22c5aee74e3836118 (patch)
tree4e460df4ef3adb915020f4d554dabfb03d087f8f
parentb9a6dcfa3ddebe6a67c657ce667a2852827c72e6 (diff)
downloadabc8000-ce3557225a4523c7081cadd22c5aee74e3836118.zip
abc8000-ce3557225a4523c7081cadd22c5aee74e3836118.tar.gz
abc8000-ce3557225a4523c7081cadd22c5aee74e3836118.tar.bz2
abc8000-ce3557225a4523c7081cadd22c5aee74e3836118.tar.xz
build.sh: explicitly initialize submodules
Explicitly initialize the submodules if necessary.
-rwxr-xr-xtools/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build.sh b/tools/build.sh
index cfc5fec..441ad0e 100755
--- a/tools/build.sh
+++ b/tools/build.sh
@@ -14,6 +14,8 @@ export PATH
rm -rf build bin lib lib64 libexec share m68k-none-elf
mkdir build
+git submodule update --init src/binutils src/gcc
+
cd build
mkdir binutils gcc