diff options
author | Renato Golin <renato.golin@linaro.org> | 2017-04-11 17:13:29 +0100 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2017-04-11 17:13:29 +0100 |
commit | 5c1aadd3d70d0837ed2250a473ea87aca066cfb7 (patch) | |
tree | 50fd04f2eed9a1e1549480faef18bb5c5f66fd22 /tcwg-llvm-build.sh | |
parent | c6002a0a78a2a068b226b95d59b5ad8e9df2a5b1 (diff) |
tcwg-llvm-*: Fix toolchain argument
Sometime during the development stages, we lost the ability to run with
the system compiler instead of one specified in the arguments list. The
test-suite still must have a toolchain (no point in testing the system
compiler), but the release and the staged build (stage1) can use it.
Change-Id: I66f8d9094f3f9f6aaccbbb279bd78862c0d9a803
Diffstat (limited to 'tcwg-llvm-build.sh')
-rwxr-xr-x | tcwg-llvm-build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tcwg-llvm-build.sh b/tcwg-llvm-build.sh index d0d8c0ab..e7a6560f 100755 --- a/tcwg-llvm-build.sh +++ b/tcwg-llvm-build.sh @@ -100,6 +100,7 @@ while [ "$#" -gt 0 ]; do shift ;; --toolchain) if [ "$VAL" != "" ]; then + TOOLCHAIN="$VAL" file=$(basename "$VAL") dir=$(echo "$file" | sed 's/\.tar.*//g') # Download the toolchain @@ -126,9 +127,7 @@ while [ "$#" -gt 0 ]; do exit 1 fi else - echo "ERROR: Toolchain '$VAL' not valid" - echo "Syntax: $SYN_TOOLCHAIN" - exit 1 + echo "WARNING: No toolchain specified, using the system one" fi shift ;; *) |