host/arch/PKGBUILD: Add '--recursive' to git clone
The --recursive option also fetches all submodules.
This commit is contained in:
parent
a1b0b7e55b
commit
efe4a32707
2 changed files with 4 additions and 4 deletions
|
|
@ -35,14 +35,14 @@ build() {
|
|||
cd "$_gitname" && git pull origin
|
||||
msg "The local files are updated."
|
||||
else
|
||||
git clone "$_gitroot" "$_gitname"
|
||||
git clone --recursive "$_gitroot" "$_gitname"
|
||||
fi
|
||||
|
||||
msg "GIT checkout done or server timeout"
|
||||
msg "Starting build..."
|
||||
|
||||
rm -rf "$srcdir/$_gitname-build"
|
||||
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
|
||||
git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
|
||||
cd "$srcdir/$_gitname-build/host/drivers/linux"
|
||||
|
||||
make
|
||||
|
|
|
|||
|
|
@ -43,14 +43,14 @@ build() {
|
|||
cd "$_gitname" && git pull origin
|
||||
msg "The local files are updated."
|
||||
else
|
||||
git clone "$_gitroot" "$_gitname"
|
||||
git clone --recursive "$_gitroot" "$_gitname"
|
||||
fi
|
||||
|
||||
msg "GIT checkout done or server timeout"
|
||||
msg "Starting build..."
|
||||
|
||||
rm -rf "$srcdir/$_gitname-build"
|
||||
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
|
||||
git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
|
||||
|
||||
cd "$srcdir/$_gitname-build/host"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue