1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Extracting Mac OS X ARM tools in build.xml.

This commit is contained in:
David A. Mellis 2012-05-11 16:29:42 -04:00
parent 49d7bdad47
commit 22424b5e85

View File

@ -204,6 +204,25 @@
<arg value="macosx/dist/tools-universal.zip" /> <arg value="macosx/dist/tools-universal.zip" />
</exec> </exec>
<exec executable="unzip">
<arg value="-q" />
<arg value="-n" />
<arg value="-d" />
<arg value="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/" />
<arg value="macosx/dist/CodeSourcery_arm.zip" />
</exec>
<exec executable="mv">
<arg value="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/CodeSourcery_arm" />
<arg value="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/g++_arm_none_eabi" />
</exec>
<copy todir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/">
<fileset file="macosx/dist/bossac" />
</copy>
<chmod file="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/bossac" perm="+x" />
<copy todir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/include/avr"> <copy todir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/include/avr">
<fileset file="macosx/dist/eeprom.h" /> <fileset file="macosx/dist/eeprom.h" />
</copy> </copy>