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.
|
||||
# $2 Target architecture list.
|
||||
# DST is the destination directory.
|
||||
# NOINSTALL = 1 to skip installing.
|
||||
|
||||
SRC=$1
|
||||
ARCHS=$2
|
||||
@ -50,5 +51,9 @@ for ARCH in $ARCHS; do
|
||||
|
||||
# Build and install.
|
||||
ninja -C $BUILD all
|
||||
ninja -C $BUILD install
|
||||
|
||||
if [ ! $NOINSTALL ]
|
||||
then
|
||||
ninja -C $BUILD install
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user