Change build script to accept new option NOINSTALL.
This commit is contained in:
parent
d9c98b5cdc
commit
e72ca60381
@ -3,6 +3,7 @@
|
|||||||
# $1 Source path of the project.
|
# $1 Source path of the project.
|
||||||
# $2 Target architecture list.
|
# $2 Target architecture list.
|
||||||
# DST is the destination directory.
|
# DST is the destination directory.
|
||||||
|
# NOINSTALL = 1 to skip installing.
|
||||||
|
|
||||||
SRC=$1
|
SRC=$1
|
||||||
ARCHS=$2
|
ARCHS=$2
|
||||||
@ -50,5 +51,9 @@ for ARCH in $ARCHS; do
|
|||||||
|
|
||||||
# Build and install.
|
# Build and install.
|
||||||
ninja -C $BUILD all
|
ninja -C $BUILD all
|
||||||
ninja -C $BUILD install
|
|
||||||
|
if [ ! $NOINSTALL ]
|
||||||
|
then
|
||||||
|
ninja -C $BUILD install
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user