From beb4a884eeea99a52073eaf7b5a021c94bcc8a8e Mon Sep 17 00:00:00 2001 From: Bill Mills Date: Fri, 9 Sep 2011 14:24:31 -0400 Subject: [PATCH] setupenvLnx.sh: search more places for cgt Search more dirs for an installed CGT Signed-off-by: Bill Mills --- src/make/setupenvLnx.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/make/setupenvLnx.sh b/src/make/setupenvLnx.sh index d36a159..752799b 100755 --- a/src/make/setupenvLnx.sh +++ b/src/make/setupenvLnx.sh @@ -1,12 +1,12 @@ #!/bin/bash export OS="Linux" -# The below is only valid in TI Germantown network and should really not be here -#export C6X_BASE_DIR=/apps/ti/cgt/TI_CGT_C6000_6.1.12 -#export C6X_BASE_DIR=/apps/ti/cgt/C6000CGT7.2.0 +if [ -z $C6X_CGT_VERSION ]; then + C6X_CGT_VERSION=7.2.1 +fi if [ -z "$C6X_BASE_DIR" ]; then - for dir in {~,}/opt/ti/ccsv5/tools/compiler/c6000 ; do + for dir in {~,}{,/opt}/{ti,TI,texas_instruments}/TI_CGT_C6000_${C6X_CGT_VERSION} {~,}{,/opt}/{ti,texas_instruments}/ccsv5/tools/compiler/c6000 ; do if [ -x $dir/bin/cl6x ]; then C6X_BASE_DIR=$dir break -- 2.39.2