From 4c8f3997658edc6cba19b71b609442b05c5ff8a6 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> Date: Tue, 6 Jan 2015 12:15:33 -0500 Subject: [PATCH] build: Add a minimal build option Refs #63263 Change-Id: I9cadc52c5e40cf7b7d1e8110def23bb6f2925c26 --- tools/build-system/hudson-sflphone-script.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/build-system/hudson-sflphone-script.sh b/tools/build-system/hudson-sflphone-script.sh index 947fd78954..1a24cf73e9 100755 --- a/tools/build-system/hudson-sflphone-script.sh +++ b/tools/build-system/hudson-sflphone-script.sh @@ -197,7 +197,8 @@ if [ "$#" -eq 0 ]; then # Script needs at least one command-line argument. -v enable video support -c use clang compiler -a run static code analysis after build - -t run unit tests after build" + -t run unit tests after build + -m disable most optional options" exit $E_OPTERR fi @@ -227,6 +228,10 @@ while getopts ":b: t a v c" opt; do echo "-v is set, video support is disabled" >&2 DOPTS="--disable-video $DOPTS" ;; + m) + echo "-m is set, disabling dbus, video, iax, nm and pulse" >&2 + DOPTS="--disable-video --without-iax --without-dbus --without-pulse --without-networkmanager $DOPTS" + ;; c) echo "-c is set, clang compiler is used" >&2 export CC=clang -- GitLab