diff mbox

generic: external EXTRA_FLAGS overwrites script default

Message ID 1431618231-883-1-git-send-email-zoltan.kiss@linaro.org
State New
Headers show

Commit Message

Zoltan Kiss May 14, 2015, 3:43 p.m. UTC
The previous patch just added the values defined by the caller, this patch
changes behaviour to overwrite the script default entirely. Not everyone wants
the perf tests to run on make check.

Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
---
 helper/generic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/helper/generic b/helper/generic
index aa1b10a..1dbb41f 100644
--- a/helper/generic
+++ b/helper/generic
@@ -3,7 +3,7 @@ 
 export SRCDIR=${ROOT_DIR}/src
 export BUILDDIR=${ROOT_DIR}/build
 export LOGDIR=${ROOT_DIR}/log
-export EXTRA_FLAGS="${EXTRA_FLAGS} --enable-test-perf"
+export EXTRA_FLAGS="${EXTRA_FLAGS:- --enable-test-perf}"
 
 mkdir -p ${SRCDIR}
 mkdir -p ${BUILDDIR}