1 if [ "$uname" = Linux
]
3 url_ext
="linux.tar.bz2"
4 elif [ "$uname" = Darwin
]
7 elif [ "$uname" = Windows
]
13 pkgver
=4.9_2015_q2_update
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
]
24 tool_extract_dir
=$tools_dir/$tool_install_name
29 function validate_target
{ true
; }