mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
scripts: Allow passing make flags to git-update.sh
Mostly adding this for add a -jN as appropriate while building.
This commit is contained in:
parent
41fdf21a60
commit
ab5fdd7212
1 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,8 @@ EXTRA_MODULES="\
|
|||
gst-rtsp-server \
|
||||
gst-python"
|
||||
|
||||
MAKE_FLAGS=
|
||||
|
||||
tmp=${TMPDIR-/tmp}
|
||||
tmp=$tmp/git-update.$(date +%Y%m%d-%H%M-).$RANDOM.$RANDOM.$RANDOM.$$
|
||||
|
||||
|
@ -91,7 +93,7 @@ build()
|
|||
fi
|
||||
|
||||
echo "+ $1: make"
|
||||
make > "$tmp/$1-make.log" 2>&1
|
||||
make $MAKE_FLAGS > "$tmp/$1-make.log" 2>&1
|
||||
if test $? -ne 0
|
||||
then
|
||||
echo "$1: make [$tmp/$1-make.log]" >> $ERROR_LOG
|
||||
|
@ -128,6 +130,8 @@ fi
|
|||
exit
|
||||
}
|
||||
|
||||
MAKE_FLAGS=$@
|
||||
|
||||
# build core and base plugins sequentially
|
||||
# exit if build fails (excluding checks)
|
||||
for m in $CORE; do
|
||||
|
|
Loading…
Reference in a new issue