diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2015-01-03 01:47:16 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2015-01-03 01:47:16 +0100 |
commit | ba4547f7ed70bcee1fe83d32a003a8a530ddaaed (patch) | |
tree | 820be38d991ac124f040859653ad505eeae8bf98 | |
parent | d24afb929076f8a01b9c2237619d295fadaeb894 (diff) |
helper: cunit: persistent installdir
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r-- | helper/cunit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helper/cunit b/helper/cunit index d53e69e..c64e556 100644 --- a/helper/cunit +++ b/helper/cunit @@ -3,9 +3,10 @@ source ${ROOT_DIR}/helper/vercomp #CUnit vars -export CUNIT_INSTALLDIR=${CUNIT_INSTALLDIR:-${ROOT_DIR}/install-cunit} -export CUNIT_SRCDIR=${ROOT_DIR}/cunit +BASE_ARCH=${ARCH:-$(uname -m)} CUNIT_VERSION="${CUNIT_VERSION:-"2.1-3"}" +export CUNIT_INSTALLDIR=${CUNIT_INSTALLDIR:-${ROOT_DIR}/installed/${BASE_ARCH}/cunit-${CUNIT_VERSION}} +export CUNIT_SRCDIR=${ROOT_DIR}/cunit cunit_usage() { @@ -38,7 +39,6 @@ build_cunit() cunit_cleanup(){ rm -rf ${CUNIT_SRCDIR} - rm -rf ${CUNIT_INSTALLDIR} } ## vim: set ft=sh sw=4 sts=4 et foldmethod=syntax : ## |