From 089005fc87bcfa2dd3e5ca22985f8b01f61633f6 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 7 Apr 2014 15:28:42 -0600 Subject: [PATCH] lm3s6965: Add path to the CodeSourcery toolchain --- configs/lm3s6965-ek/discover/setenv.sh | 13 ++++++++++--- configs/lm3s6965-ek/nsh/setenv.sh | 13 ++++++++++--- configs/lm3s6965-ek/nx/setenv.sh | 13 ++++++++++--- configs/lm3s6965-ek/tcpecho/setenv.sh | 13 ++++++++++--- 4 files changed, 40 insertions(+), 12 deletions(-) diff --git a/configs/lm3s6965-ek/discover/setenv.sh b/configs/lm3s6965-ek/discover/setenv.sh index 6ff84d0c0e..479dc95e42 100644 --- a/configs/lm3s6965-ek/discover/setenv.sh +++ b/configs/lm3s6965-ek/discover/setenv.sh @@ -1,7 +1,7 @@ #!/bin/bash # configs/lm3s6965-ek/discover/setenv.sh # -# Copyright (C) 2013 Gregory Nutt. All rights reserved. +# Copyright (C) 2013, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -47,10 +47,17 @@ if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}" fi +# This is the Cygwin path to the location where I installed the CodeSourcery +# toolchain under windows. You will also have to edit this if you install +# the CodeSourcery toolchain in any other location + +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin" +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" + # This is the Cygwin path to the location where I build the buildroot # toolchain. -export BUILDROOT_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" +export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" # This is the path to the LM3S6995-EK tools directory @@ -58,7 +65,7 @@ export TOOL_BIN="${WD}/configs/lm3s6965-ek/tools" # Update the PATH variable -export PATH="${BUILDROOT_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" +export PATH="${TOOLCHAIN_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" echo "PATH : ${PATH}" diff --git a/configs/lm3s6965-ek/nsh/setenv.sh b/configs/lm3s6965-ek/nsh/setenv.sh index 98ea7e573a..3ab4215126 100755 --- a/configs/lm3s6965-ek/nsh/setenv.sh +++ b/configs/lm3s6965-ek/nsh/setenv.sh @@ -1,7 +1,7 @@ #!/bin/bash # configs/lm3s6965-ek/nsh/setenv.sh # -# Copyright (C) 2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2010, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -47,10 +47,17 @@ if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}" fi +# This is the Cygwin path to the location where I installed the CodeSourcery +# toolchain under windows. You will also have to edit this if you install +# the CodeSourcery toolchain in any other location + +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin" +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" + # This is the Cygwin path to the location where I build the buildroot # toolchain. -export BUILDROOT_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" +export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" # This is the path to the LM3S6995-EK tools directory @@ -58,6 +65,6 @@ export TOOL_BIN="${WD}/configs/lm3s6965-ek/tools" # Update the PATH variable -export PATH="${BUILDROOT_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" +export PATH="${TOOLCHAIN_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" echo "PATH : ${PATH}" diff --git a/configs/lm3s6965-ek/nx/setenv.sh b/configs/lm3s6965-ek/nx/setenv.sh index 43bbeada95..f92abb9f59 100755 --- a/configs/lm3s6965-ek/nx/setenv.sh +++ b/configs/lm3s6965-ek/nx/setenv.sh @@ -1,7 +1,7 @@ #!/bin/bash # configs/lm3s6965-ek/nx/setenv.sh # -# Copyright (C) 2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2010, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -47,10 +47,17 @@ if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}" fi +# This is the Cygwin path to the location where I installed the CodeSourcery +# toolchain under windows. You will also have to edit this if you install +# the CodeSourcery toolchain in any other location + +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin" +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" + # This is the Cygwin path to the location where I build the buildroot # toolchain. -export BUILDROOT_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" +export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" # This is the path to the LM3S6995-EK tools directory @@ -58,6 +65,6 @@ export TOOL_BIN="${WD}/configs/lm3s6965-ek/tools" # Update the PATH variable -export PATH="${BUILDROOT_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" +export PATH="${TOOLCHAIN_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" echo "PATH : ${PATH}" diff --git a/configs/lm3s6965-ek/tcpecho/setenv.sh b/configs/lm3s6965-ek/tcpecho/setenv.sh index 7e09dde62d..3c20172413 100644 --- a/configs/lm3s6965-ek/tcpecho/setenv.sh +++ b/configs/lm3s6965-ek/tcpecho/setenv.sh @@ -1,7 +1,7 @@ #!/bin/bash # configs/lm3s6965-ek/tcpecho/setenv.sh # -# Copyright (C) 2013 Gregory Nutt. All rights reserved. +# Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -47,10 +47,17 @@ if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}" fi +# This is the Cygwin path to the location where I installed the CodeSourcery +# toolchain under windows. You will also have to edit this if you install +# the CodeSourcery toolchain in any other location + +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin" +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" + # This is the Cygwin path to the location where I build the buildroot # toolchain. -export BUILDROOT_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" +export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" # This is the path to the LM3S6995-EK tools directory @@ -58,6 +65,6 @@ export TOOL_BIN="${WD}/configs/lm3s6965-ek/tools" # Update the PATH variable -export PATH="${BUILDROOT_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" +export PATH="${TOOLCHAIN_BIN}:${TOOL_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" echo "PATH : ${PATH}"