From e72ca603817b180bf356ba7de07a5502ab03009e Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Thu, 4 Apr 2024 23:15:05 +0300 Subject: [PATCH] Change build script to accept new option NOINSTALL. --- sh/quik_build_native.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sh/quik_build_native.sh b/sh/quik_build_native.sh index cff555e..ca6cf16 100755 --- a/sh/quik_build_native.sh +++ b/sh/quik_build_native.sh @@ -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