diff options
Diffstat (limited to 'nuttx/configs/z16f2800100zcog/pashello/setenv.sh')
-rwxr-xr-x | nuttx/configs/z16f2800100zcog/pashello/setenv.sh | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/nuttx/configs/z16f2800100zcog/pashello/setenv.sh b/nuttx/configs/z16f2800100zcog/pashello/setenv.sh index 2db93c5ef..4ade86cff 100755 --- a/nuttx/configs/z16f2800100zcog/pashello/setenv.sh +++ b/nuttx/configs/z16f2800100zcog/pashello/setenv.sh @@ -1,7 +1,7 @@ #!/bin/bash # configs/z16f2800100zcog/pashello/setenv.sh # -# Copyright (C) 2008, 2009, 2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2008, 2009, 2012, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -49,15 +49,21 @@ if [ -z "${PATH_ORIG}" ]; then fi # -# This is the Cygwin path to location where the XDS-II tools were installed +# This is the Cygwin path to location where the ZDS-II tools were installed # TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/ZiLOG/ZDSII_ZNEO_5.0.1/bin" # -# Add the path to the toolchain to the PATH variable. NOTE that /bin and /usr/bin -# preceded the toolchain bin directory. This is because the ZDSII bin directory -# includes binaries like make.exe that will interfere with the normal build process -# if we do not give priority to the versions at /bin and /usr/bin. +# This is the path to the z16f2800100zcog tool directory # -export PATH="/bin:/usr/bin:${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" +TOOL_DIR="${WD}/configs/z16f2800100zcog/tools" + +# +# Add the path to the toolchain and tool directory to the PATH variable. NOTE +# that /bin and /usr/bin preceded the toolchain bin directory. This is because +# the ZDSII bin directory includes binaries like make.exe that will interfere +# with the normal build process if we do not give priority to the versions at +# /bin and /usr/bin. +# +export PATH="/bin:/usr/bin:${TOOLCHAIN_BIN}:${TOOL_DIR}:/sbin:/usr/sbin:${PATH_ORIG}" echo "PATH : ${PATH}" |