Change build script to accept new option NOINSTALL.

This commit is contained in:
H. Utku Maden 2024-04-04 23:15:05 +03:00
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
if [ ! $NOINSTALL ]
then
ninja -C $BUILD install
fi
done