update credits
[librepilot.git] / make / tool_install / gcc-arm-none-eabi.sh
blob8077091757af6945d8e8eae8845c80ae7fc49a13
1 if [ "$uname" = Linux ]
2 then
3 url_ext="linux.tar.bz2"
4 elif [ "$uname" = Darwin ]
5 then
6 url_ext="mac.tar.bz2"
7 elif [ "$uname" = Windows ]
8 then
9 url_ext="win32.zip"
10 depends=(7z)
13 pkgver=4.9_2015_q2_update
14 pkgdate=20150609
15 _pkgver=${pkgver//_/-}
16 _pkgvershort=${_pkgver%-*}
17 _pkgvershort=${_pkgvershort/-q/q}
19 tool_url="https://launchpad.net/gcc-arm-embedded/${pkgver%%_*}/${_pkgver}/+download/${tool}-${_pkgvershort/./_}-${pkgdate}-${url_ext}"
20 tool_md5_url="${tool_url}/+md5"
21 tool_install_name="${tool}-${_pkgvershort/./_}"
22 if [ "$uname" = Windows ]
23 then
24 tool_extract_dir=$tools_dir/$tool_install_name
27 bin_subdir=bin
29 function validate_target { true; }