Shallow clone to save clone time and disk space

This commit is contained in:
Ciro Santilli
2017-11-16 23:03:59 +00:00
parent d37fa42a6f
commit 23eddfb2a2
3 changed files with 6 additions and 2 deletions

4
configure vendored
View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -ex
y=''
while getopts t OPT; do
case "$OPT" in
@@ -8,6 +9,9 @@ while getopts t OPT; do
esac
done
shift $(($OPTIND - 1))
git submodule update --depth 1 --jobs 4 --init
cd qemu
git submodule update --init
sudo apt-get update $y
# Building SDL for QEMU in Buildroot was rejected upstream because it adds many dependencies:
# https://patchwork.ozlabs.org/patch/770684/