summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2018-09-03 20:16:50 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2018-09-03 20:16:50 +0100
commitb7d1ab39be11301013a55c74419f7e6b7557d005 (patch)
tree783a5b4e0e97cf519852cf56d77f93ea4bbcad55
parent80caf56104723f9ba7346a572003b596c588414f (diff)
build.sh: add and update submodules
OpenSSL is now added as a submodule in upstream EDK2. Add the steps to init and update submodules for all repos. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index ab8f65c..fe4accb 100755
--- a/build.sh
+++ b/build.sh
@@ -107,7 +107,9 @@ get_repo()
update_repo $TARGET_DIR
else
clone_repo $TARGET_DIR
+ git -C $TARGET_DIR submodule init
fi
+ git -C $TARGET_DIR submodule update
}
patch_repo()