From 83927de4958dc02ec0c7d8dddd151328b6a16613 Mon Sep 17 00:00:00 2001 From: Matthias Rampke Date: Fri, 12 Aug 2011 15:11:25 +0200 Subject: [PATCH] allow setting work dir and prefix in the environment --- summon-arm-toolchain | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 7cb10a5..7665da6 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -14,7 +14,8 @@ set -e # You probably want to customize those ############################################################################## TARGET=arm-eabi # Or: TARGET=arm-elf -PREFIX=${HOME}/arm # Install location of your final toolchain +[ -z $PREFIX ] && PREFIX=${HOME}/arm # Install location of your final toolchain +[ -z $WORKDIR ] && WORKDIR=$PREFIX/work #temporary directory PARALLEL= # Or: PARALLEL="-j 5" for 4 CPUs # Set to 'sudo' if you need superuser privileges while installing SUDO='' -- 2.25.1