Lines Matching refs:cmd
245 local cmd
246 for cmd in "${CC%-*}-"*; do
247 if [ -x "$cmd" ]; then
248 local out="$1/${cmd##*/}"
249 local bin="$cmd"
256 case "${cmd##*/}" in
405 local cmd
406 for cmd in "$TOOLCHAIN/$bin/"*-*cc*; do
407 if [ -x "$cmd" ] && [ ! -h "$cmd" ]; then
408 CC="$(cd "${cmd%/*}"; pwd)/${cmd##*/}"
422 local cmd
423 for cmd in "$TOOLCHAIN/$bin/"*-*++*; do
424 if [ -x "$cmd" ] && [ ! -h "$cmd" ]; then
425 CXX="$(cd "${cmd%/*}"; pwd)/${cmd##*/}"
439 local cmd
440 for cmd in "$TOOLCHAIN/$bin/"*-cpp*; do
441 if [ -x "$cmd" ] && [ ! -h "$cmd" ]; then
442 CPP="$(cd "${cmd%/*}"; pwd)/${cmd##*/}"