mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
[sam] toolchain download is done during default ant build
This commit is contained in:
parent
6537c1c059
commit
0e0c18ed73
@ -146,24 +146,6 @@
|
|||||||
message="Fix revision number in Base.java" />
|
message="Fix revision number in Base.java" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<!-- Download of toolchains for ARM -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - -->
|
|
||||||
|
|
||||||
<target name="unzip-arm-toolchain" description="Unpack toolchain for ARM. Also download latest distribution file if needed.">
|
|
||||||
<antcall target="${platform}-unzip-arm-toolchain" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="get-arm-toolchain-help" unless="arm_available">
|
|
||||||
<echo>
|
|
||||||
=========================================================
|
|
||||||
To download and install ARM-gcc toolchain use the command
|
|
||||||
|
|
||||||
ant unzip-arm-toolchain
|
|
||||||
=========================================================
|
|
||||||
</echo>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- - - - - - - - -->
|
<!-- - - - - - - - -->
|
||||||
<!-- Mac OS X -->
|
<!-- Mac OS X -->
|
||||||
<!-- - - - - - - - -->
|
<!-- - - - - - - - -->
|
||||||
@ -235,7 +217,7 @@
|
|||||||
<param name="target.path" value="macosx/work/Arduino.app/Contents/Resources/Java" />
|
<param name="target.path" value="macosx/work/Arduino.app/Contents/Resources/Java" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
<antcall target="get-arm-toolchain-help" />
|
<antcall target="macosx-unzip-arm-toolchain" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="macosx-run" depends="macosx-build" description="Run Mac OS X version">
|
<target name="macosx-run" depends="macosx-build" description="Run Mac OS X version">
|
||||||
@ -417,7 +399,7 @@
|
|||||||
<copy todir="linux/work" file="linux/dist/arduino" />
|
<copy todir="linux/work" file="linux/dist/arduino" />
|
||||||
<chmod perm="755" file="linux/work/arduino" />
|
<chmod perm="755" file="linux/work/arduino" />
|
||||||
|
|
||||||
<antcall target="get-arm-toolchain-help" />
|
<antcall target="linux-unzip-arm-toolchain" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="linux64-build" depends="linux-build" description="Build linux (64-bit) version">
|
<target name="linux64-build" depends="linux-build" description="Build linux (64-bit) version">
|
||||||
@ -601,7 +583,7 @@
|
|||||||
<fileset dir="windows/work" includes="**/*.html, **/*.dll, **/*.exe" />
|
<fileset dir="windows/work" includes="**/*.html, **/*.dll, **/*.exe" />
|
||||||
</chmod>
|
</chmod>
|
||||||
|
|
||||||
<antcall target="get-arm-toolchain-help" />
|
<antcall target="windows-unzip-arm-toolchain" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="windows-run" depends="windows-build"
|
<target name="windows-run" depends="windows-build"
|
||||||
|
Loading…
Reference in New Issue
Block a user