Skip to content

Commit 0e0c18e

Browse files
committed
[sam] toolchain download is done during default ant build
1 parent 6537c1c commit 0e0c18e

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

build/build.xml

+3-21
Original file line numberDiff line numberDiff line change
@@ -146,24 +146,6 @@
146146
message="Fix revision number in Base.java" />
147147
</target>
148148

149-
<!-- - - - - - - - - - - - - - - - - - - -->
150-
<!-- Download of toolchains for ARM -->
151-
<!-- - - - - - - - - - - - - - - - - - - -->
152-
153-
<target name="unzip-arm-toolchain" description="Unpack toolchain for ARM. Also download latest distribution file if needed.">
154-
<antcall target="${platform}-unzip-arm-toolchain" />
155-
</target>
156-
157-
<target name="get-arm-toolchain-help" unless="arm_available">
158-
<echo>
159-
=========================================================
160-
To download and install ARM-gcc toolchain use the command
161-
162-
ant unzip-arm-toolchain
163-
=========================================================
164-
</echo>
165-
</target>
166-
167149
<!-- - - - - - - - -->
168150
<!-- Mac OS X -->
169151
<!-- - - - - - - - -->
@@ -235,7 +217,7 @@
235217
<param name="target.path" value="macosx/work/Arduino.app/Contents/Resources/Java" />
236218
</antcall>
237219

238-
<antcall target="get-arm-toolchain-help" />
220+
<antcall target="macosx-unzip-arm-toolchain" />
239221
</target>
240222

241223
<target name="macosx-run" depends="macosx-build" description="Run Mac OS X version">
@@ -417,7 +399,7 @@
417399
<copy todir="linux/work" file="linux/dist/arduino" />
418400
<chmod perm="755" file="linux/work/arduino" />
419401

420-
<antcall target="get-arm-toolchain-help" />
402+
<antcall target="linux-unzip-arm-toolchain" />
421403
</target>
422404

423405
<target name="linux64-build" depends="linux-build" description="Build linux (64-bit) version">
@@ -601,7 +583,7 @@
601583
<fileset dir="windows/work" includes="**/*.html, **/*.dll, **/*.exe" />
602584
</chmod>
603585

604-
<antcall target="get-arm-toolchain-help" />
586+
<antcall target="windows-unzip-arm-toolchain" />
605587
</target>
606588

607589
<target name="windows-run" depends="windows-build"

0 commit comments

Comments
 (0)