aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-10-14 18:35:17 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-10-14 18:35:17 +0200
commitbd7acb89dd0a8fbb3298148fdfa459d6afa3777b (patch)
treed14a98326bd09403ce29aee665bbb1b561bff87d
parent00639ed076e493120695c9e43188bb67786b205f (diff)
downloadcheck-odp-bd7acb89dd0a8fbb3298148fdfa459d6afa3777b.tar.gz
helper/generic: add build option, ABI compatibility flag
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r--helper/generic7
1 files changed, 7 insertions, 0 deletions
diff --git a/helper/generic b/helper/generic
index bd7a465..9aedbcb 100644
--- a/helper/generic
+++ b/helper/generic
@@ -16,6 +16,7 @@ export CHECK_TARBALL="${CHECK_TARBALL:-0}"
export DEBUG_SCRIPT="${DEBUG_SCRIPT:-0}"
export ENABLE_DEBUG="${ENABLE_DEBUG:-0}"
export SCHEDULER="${SCHEDULER:-"default"}"
+export DISABLE_ABI_COMPAT="${DISABLE_ABI_COMPAT:-1}"
# Print debug messages, set DEBUG_SCRIPT to 0 if not required
isdebug() {
@@ -61,6 +62,11 @@ if [[ ${SCHEDULER} != "default" ]]; then
export CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-schedule-${SCHEDULER}"
fi
+isdebug echo "helper/generic: before DISABLE_ABI_COMPAT: ${DISABLE_ABI_COMPAT}"
+if [[ ${DISABLE_ABI_COMPAT} -eq 0 ]]; then
+ export CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --disable-abi-compat=no"
+fi
+
mkdir -p ${SRCDIR}
mkdir -p ${BUILDDIR}
mkdir -p ${LOGDIR}
@@ -93,6 +99,7 @@ common_usage() {
echo -e "\tDEBUG_SCRIPT:\t set to 1 to enable debug output from the script, default: 0"
echo -e "\tENABLE_DEBUG:\t enable debug prints, default: 0"
echo -e "\tSCHEDULER:\t which scheduler impl to use: [default|sp]"
+ echo -e "\tDISABLE_ABI_COMPAT:\t which disables ABI compatibility mode, default: 0"
}
display_os(){