summaryrefslogtreecommitdiff
path: root/nuttx/configs/ez80f910200kitg/ostest/setenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ez80f910200kitg/ostest/setenv.sh')
-rwxr-xr-xnuttx/configs/ez80f910200kitg/ostest/setenv.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/configs/ez80f910200kitg/ostest/setenv.sh b/nuttx/configs/ez80f910200kitg/ostest/setenv.sh
index ce3ea8b53..42003ccb6 100755
--- a/nuttx/configs/ez80f910200kitg/ostest/setenv.sh
+++ b/nuttx/configs/ez80f910200kitg/ostest/setenv.sh
@@ -54,7 +54,10 @@ fi
TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/ZiLOG/ZDSII_eZ80Acclaim!_5.1.1\bin"
#
-# Add the path to the toolchain to the PATH varialble
+# Add the path to the toolchain to the PATH varialble. 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="${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
+export PATH="/bin:/usr/bin:${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
echo "PATH : ${PATH}"