several changes to toolchain packages
[hdw-linux/hdw-linux.git] / scripts / Config
index 42c877a..042664c 100755 (executable)
@@ -64,8 +64,11 @@ fi
 set +h
 umask 022
 export LC_ALL=POSIX
-[ "$stage" -lt "2" -o "$hdw_crossbuild" != "0" ] && \
-       export PATH="$root/${hdw_tc_name}/bin:$PATH"
+if [ "$stage" -lt "2" -a "$hdw_crossbuild" = "0" ] ; then
+       export PATH="/${tc_name}/bin:/${tc_name}/sbin:$PATH"
+elif [ "$hdw_crossbuild" != "0" ] ; then
+       export PATH="$root/${tc_name}/bin:$root/${tc_name}/sbin:$PATH"
+fi
 
 # let's do optimization and care for crossbuilds
 #