mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
[sam] Moved arm toolchain distribution to google code
This commit is contained in:
parent
b8f5ba7497
commit
d5a1938530
@ -419,29 +419,26 @@
|
||||
<target name="linux-get-arm-toolchain" depends="linux-check-arm-toolchain" if="arm_not_available">
|
||||
<!-- Retrieve ARM toolchain... -->
|
||||
<get
|
||||
src="http://static.leaflabs.com/pub/codesourcery/gcc-arm-none-eabi-latest-linux32.tar.gz"
|
||||
dest="linux/dist/gcc-arm-none-eabi-latest-linux32.tar.gz"
|
||||
src="http://arduino.googlecode.com/files/gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz"
|
||||
dest="linux/dist/gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz"
|
||||
skipexisting="true" verbose="true" />
|
||||
<checksum file="linux/dist/gcc-arm-none-eabi-latest-linux32.tar.gz" algorithm="sha"
|
||||
<checksum file="linux/dist/gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz" algorithm="sha"
|
||||
fileext=".sha" verifyproperty="checksum.matches"/>
|
||||
<condition property="checksum.matches.fail">
|
||||
<equals arg1="${checksum.matches}" arg2="false"/>
|
||||
</condition>
|
||||
<fail if="checksum.matches.fail">
|
||||
File gcc-arm-none-eabi-latest-linux32.tar.gz failed checksum.
|
||||
Please remove "linux/dist/gcc-arm-none-eabi-latest-linux32.tar.gz" to download again.
|
||||
File gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz failed checksum.
|
||||
Please remove "linux/dist/gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz" to download again.
|
||||
</fail>
|
||||
|
||||
<!-- ...and unzip on the destination folder -->
|
||||
<exec executable="tar" output="/dev/null" os="Linux">
|
||||
<arg value="xfz"/>
|
||||
<arg value="linux/dist/gcc-arm-none-eabi-latest-linux32.tar.gz"/>
|
||||
<arg value="linux/dist/gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz"/>
|
||||
<arg value="--directory=linux/work/hardware/tools"/>
|
||||
</exec>
|
||||
|
||||
<move file="linux/work/hardware/tools/arm"
|
||||
tofile="linux/work/hardware/tools/g++_arm_none_eabi" />
|
||||
|
||||
<copy todir="linux/work" file="linux/dist/arduino" />
|
||||
<chmod perm="755" file="linux/work/arduino" />
|
||||
</target>
|
||||
|
1
build/linux/dist/gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz.sha
vendored
Normal file
1
build/linux/dist/gcc-arm-none-eabi-4.4.1-2010q1-188-linux32.tar.gz.sha
vendored
Normal file
@ -0,0 +1 @@
|
||||
46a93ceec28772ac19c76ffc9b285a1eac4288a3
|
@ -1 +0,0 @@
|
||||
d835b43b066ccb224e2767a26e2ca90abcebe06b
|
Loading…
x
Reference in New Issue
Block a user