git.sh: move link_crossgcc to end of file
link_crossgcc is called after git_am_patches, so put it after ward Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
73a2d99102
commit
093c4a367d
|
@ -122,15 +122,6 @@ prep_submodules()
|
||||||
done < "$tmpdir/modules"
|
done < "$tmpdir/modules"
|
||||||
}
|
}
|
||||||
|
|
||||||
link_crossgcc()
|
|
||||||
{
|
|
||||||
(
|
|
||||||
cd "$tmpgit/util" || $err "prep $1: !cd $tmpgit/util"
|
|
||||||
rm -Rf crossgcc || $err "prep $1: !rm xgcc"
|
|
||||||
ln -s "../../$xtree/util/crossgcc" crossgcc || $err "$1: !xgcc link"
|
|
||||||
) || $err "$1: !xgcc link"
|
|
||||||
}
|
|
||||||
|
|
||||||
git_am_patches()
|
git_am_patches()
|
||||||
{
|
{
|
||||||
for _patch in "$2/"*; do
|
for _patch in "$2/"*; do
|
||||||
|
@ -142,3 +133,12 @@ git_am_patches()
|
||||||
git_am_patches "$1" "$_patches"; continue
|
git_am_patches "$1" "$_patches"; continue
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
link_crossgcc()
|
||||||
|
{
|
||||||
|
(
|
||||||
|
cd "$tmpgit/util" || $err "prep $1: !cd $tmpgit/util"
|
||||||
|
rm -Rf crossgcc || $err "prep $1: !rm xgcc"
|
||||||
|
ln -s "../../$xtree/util/crossgcc" crossgcc || $err "$1: !xgcc link"
|
||||||
|
) || $err "$1: !xgcc link"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue