5 echo "Usage: $0 /path/to/toolchain /source/path"
9 if [[ -z "$2" ||
! -d "$1" ||
! -d "$2" ]]; then
15 SCRIPT_PATH
=`dirname $0`
20 source $SCRIPT_PATH/config
21 mkdir
-p $SCRIPT_PATH/deps
25 if [ -f "configure.ac" ]; then
26 _set_toolchain_path
"$1"