Currently the toolchain installation only support interactive method. It is better to add a non-interactive method: Do not ask anything, use default answers automatically. It would be very helpful for QAs with automate testing.
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1b98ab72e7104886993a81f059561c210c9d306e
add "-d install_dir" and "-y" option to run toolchain sh file,no error and no need to input anything to install it. git master branch 381c4b69c7e8b452f4d3de2f8214e6e5f6a9abe7.