|
252 | 252 | <param name="target.path" value="macosx/work/Arduino.app/Contents/Resources/Java" /> |
253 | 253 | </antcall> |
254 | 254 |
|
255 | | - <antcall target="unzip-tool"> |
| 255 | + <antcall target="untar-tool"> |
256 | 256 | <param name="dist_file" value="gcc-arm-none-eabi-4.8.3-2014q1-mac.tar.gz" /> |
257 | 257 | <param name="dist_url" value="http://downloads.arduino.cc/gcc-arm-none-eabi-4.8.3-2014q1-mac.tar.gz" /> |
258 | 258 | <param name="dist_check_file" value="gcc-arm-none-eabi-4.8.3-2014q1" /> |
|
486 | 486 |
|
487 | 487 | <target name="linux32-build" depends="linux-build" description="Build linux (32-bit) version"> |
488 | 488 | <!-- Unzip ARM tools --> |
489 | | - <antcall target="unzip-tool"> |
| 489 | + <antcall target="untar-tool"> |
490 | 490 | <param name="dist_file" value="gcc-arm-none-eabi-4.8.3-2014q1-linux32.tar.gz" /> |
491 | 491 | <param name="dist_url" value="http://downloads.arduino.cc/gcc-arm-none-eabi-4.8.3-2014q1-linux32.tar.gz" /> |
492 | 492 | <param name="dist_check_file" value="gcc-arm-none-eabi-4.8.3-2014q1" /> |
|
500 | 500 |
|
501 | 501 | <target name="linux64-build" depends="linux-build" description="Build linux (64-bit) version"> |
502 | 502 | <!-- Unzip ARM tools --> |
503 | | - <antcall target="unzip-tool"> |
| 503 | + <antcall target="untar-tool"> |
504 | 504 | <param name="dist_file" value="gcc-arm-none-eabi-4.8.3-2014q1-linux64.tar.gz" /> |
505 | 505 | <param name="dist_url" value="http://downloads.arduino.cc/gcc-arm-none-eabi-4.8.3-2014q1-linux64.tar.gz" /> |
506 | 506 | <param name="dist_check_file" value="gcc-arm-none-eabi-4.8.3-2014q1" /> |
|
573 | 573 | </target> |
574 | 574 |
|
575 | 575 | <!-- Ensure that the tool is downloaded and test checksums, if everything's ok unzip it on the tools folder --> |
576 | | - <target name="unzip-tool" depends="get-tool, check-tool" unless="${dist_file}_installed"> |
| 576 | + <target name="untar-tool" depends="get-tool, check-tool" unless="${dist_file}_installed"> |
577 | 577 | <echo>Testing checksum of "${staging_folder}/dist/${dist_file}"</echo> |
578 | 578 | <checksum file="${staging_folder}/dist/${dist_file}" algorithm="sha" fileext=".sha" verifyproperty="checksum.matches"/> |
579 | 579 | <condition property="checksum.matches.fail"> |
|
771 | 771 | </chmod> |
772 | 772 |
|
773 | 773 | <!-- Unzip ARM toolchain --> |
774 | | - <antcall target="unzip-tool"> |
| 774 | + <antcall target="untar-tool"> |
775 | 775 | <param name="dist_file" value="gcc-arm-none-eabi-4.8.3-2014q1-windows.tar.gz" /> |
776 | 776 | <param name="dist_url" value="http://downloads.arduino.cc/gcc-arm-none-eabi-4.8.3-2014q1-windows.tar.gz" /> |
777 | 777 | <param name="dist_check_file" value="gcc-arm-none-eabi-4.8.3-2014q1" /> |
|
0 commit comments