158 lines
8.0 KiB
Diff
158 lines
8.0 KiB
Diff
--- build/build.xml.orig 2017-06-26 21:25:28.372389852 +0000
|
|
+++ build/build.xml 2017-06-26 21:36:00.450346631 +0000
|
|
@@ -456,17 +456,6 @@
|
|
</antcall>
|
|
|
|
<antcall target="unzip">
|
|
- <param name="archive_file" value="./libastylej-2.05.1-3.zip" />
|
|
- <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-3.zip" />
|
|
- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
|
|
- <param name="dest_folder" value="${staging_folder}" />
|
|
- </antcall>
|
|
- <copy file="macosx/libastylej-2.05.1/libastylej.jnilib" todir="macosx/work/${staging_hardware_folder}/../lib/" />
|
|
- <chmod perm="755" file="macosx/work/${staging_hardware_folder}/../lib/libastylej.jnilib" />
|
|
- <copy file="macosx/libastylej-2.05.1/libastylej.jnilib" tofile="macosx/work/${staging_hardware_folder}/../lib/libastylej.dylib" />
|
|
- <chmod perm="755" file="macosx/work/${staging_hardware_folder}/../lib/libastylej.dylib" />
|
|
-
|
|
- <antcall target="unzip">
|
|
<param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
|
<param name="archive_url" value="https://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
|
<param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" />
|
|
@@ -484,20 +473,6 @@
|
|
|
|
<!-- Unzip AVR tools -->
|
|
<target name="macosx-build-avr-toolchain" unless="light_bundle">
|
|
- <antcall target="avr-toolchain-bundle">
|
|
- <param name="unpack_target" value="untar"/>
|
|
- <param name="gcc_archive_file" value="avr-gcc-${AVRGCC-VERSION}-i386-apple-darwin11.tar.bz2"/>
|
|
- <param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
|
- <param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-i386-apple-darwin11.tar.bz2"/>
|
|
- <param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
|
- <param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-darwin_amd64.tar.bz2"/>
|
|
- <param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
|
- </antcall>
|
|
-
|
|
- <chmod perm="+x">
|
|
- <fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/bin/*"/>
|
|
- <fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/libexec/gcc/avr/4.8.1/*"/>
|
|
- </chmod>
|
|
</target>
|
|
|
|
<target name="macosx-run" depends="build,start"/>
|
|
@@ -641,15 +616,6 @@
|
|
</target>
|
|
|
|
<target name="linux-libastyle-x86" depends="linux-build" description="Download libastyle.so for x86/x64 arch">
|
|
- <antcall target="unzip">
|
|
- <param name="archive_file" value="./libastylej-2.05.1-3.zip" />
|
|
- <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-3.zip" />
|
|
- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
|
|
- <param name="dest_folder" value="${staging_folder}" />
|
|
- </antcall>
|
|
- <copy file="linux/libastylej-2.05.1/libastylej${arch-bits}.so" tofile="linux/work/lib/libastylej.so" />
|
|
- <chmod perm="755" file="linux/work/lib/libastylej.so" />
|
|
-
|
|
<antcall target="portable-${portable}">
|
|
<param name="parentdir" value="linux/work" />
|
|
</antcall>
|
|
@@ -666,15 +632,6 @@
|
|
</target>
|
|
|
|
<target name="linux-libastyle-arm" depends="linux-build" description="Download libastyle.so for ARM">
|
|
- <antcall target="unzip">
|
|
- <param name="archive_file" value="./libastylej-2.05.1-3.zip" />
|
|
- <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-3.zip" />
|
|
- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
|
|
- <param name="dest_folder" value="${staging_folder}" />
|
|
- </antcall>
|
|
- <copy file="linux/libastylej-2.05.1/libastylej_arm.so" tofile="linux/work/lib/libastylej.so" />
|
|
- <chmod perm="755" file="linux/work/lib/libastylej.so" />
|
|
-
|
|
<antcall target="portable-${portable}">
|
|
<param name="parentdir" value="linux/work" />
|
|
</antcall>
|
|
@@ -696,16 +653,6 @@
|
|
</antcall>
|
|
|
|
<antcall target="build-arduino-builder" />
|
|
-
|
|
- <antcall target="avr-toolchain-bundle">
|
|
- <param name="unpack_target" value="untar"/>
|
|
- <param name="gcc_archive_file" value="avr-gcc-${AVRGCC-VERSION}-armhf-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
|
- <param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-armhf-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
|
- <param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-linux_arm.tar.bz2"/>
|
|
- <param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
|
- </antcall>
|
|
</target>
|
|
|
|
<target name="linux32-build" depends="linux-libastyle-x86" description="Build linux (32-bit) version">
|
|
@@ -714,16 +661,6 @@
|
|
</antcall>
|
|
|
|
<antcall target="build-arduino-builder" />
|
|
-
|
|
- <antcall target="avr-toolchain-bundle">
|
|
- <param name="unpack_target" value="untar"/>
|
|
- <param name="gcc_archive_file" value="avr-gcc-${AVRGCC-VERSION}-i686-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
|
- <param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-i686-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
|
- <param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-linux_386.tar.bz2"/>
|
|
- <param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
|
- </antcall>
|
|
</target>
|
|
|
|
<target name="linux64-build" depends="linux-libastyle-x86" description="Build linux (64-bit) version">
|
|
@@ -732,16 +669,6 @@
|
|
</antcall>
|
|
|
|
<antcall target="build-arduino-builder" />
|
|
-
|
|
- <antcall target="avr-toolchain-bundle">
|
|
- <param name="unpack_target" value="untar"/>
|
|
- <param name="gcc_archive_file" value="avr-gcc-${AVRGCC-VERSION}-x86_64-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
|
- <param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-x86_64-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
|
- <param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-linux_amd64.tar.bz2"/>
|
|
- <param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
|
- </antcall>
|
|
</target>
|
|
|
|
<target name="linux-jvm-noop"/>
|
|
@@ -982,16 +909,6 @@
|
|
<antcall target="windows-build-avr-toolchain" />
|
|
|
|
<antcall target="unzip">
|
|
- <param name="archive_file" value="./libastylej-2.05.1-3.zip" />
|
|
- <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-3.zip" />
|
|
- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
|
|
- <param name="dest_folder" value="${staging_folder}" />
|
|
- </antcall>
|
|
- <copy file="windows/libastylej-2.05.1/AStylej.dll" todir="windows/work/lib" />
|
|
- <copy file="windows/msvcp100.dll" todir="windows/work" />
|
|
- <copy file="windows/msvcr100.dll" todir="windows/work" />
|
|
-
|
|
- <antcall target="unzip">
|
|
<param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
|
<param name="archive_url" value="https://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
|
<param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" />
|
|
@@ -1112,15 +1029,6 @@
|
|
</target>
|
|
|
|
<target name="windows-build-avr-toolchain">
|
|
- <antcall target="avr-toolchain-bundle">
|
|
- <param name="unpack_target" value="unzip"/>
|
|
- <param name="gcc_archive_file" value="avr-gcc-${AVRGCC-VERSION}-i686-mingw32.zip"/>
|
|
- <param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
|
- <param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-i686-w64-mingw32.zip"/>
|
|
- <param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
|
- <param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-windows_386.zip"/>
|
|
- <param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
|
- </antcall>
|
|
</target>
|
|
|
|
<target name="windows-run" depends="build,start"/>
|