114 lines
5.5 KiB
Diff
114 lines
5.5 KiB
Diff
--- Arduino-1.8.9/build/build.xml.orig 2019-02-26 02:16:33.845398910 +0100
|
|
+++ Arduino-1.8.9/build/build.xml 2019-02-26 02:22:56.667235290 +0100
|
|
@@ -649,15 +649,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-4.zip" />
|
|
- <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-4.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>
|
|
@@ -674,15 +665,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-4.zip" />
|
|
- <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-4.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>
|
|
@@ -704,28 +686,9 @@
|
|
</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="linux-libastyle-aarch64" depends="linux-build" description="Download libastyle.so for AArch64">
|
|
- <antcall target="unzip">
|
|
- <param name="archive_file" value="./libastylej-2.05.1-4.zip" />
|
|
- <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-4.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_aarch64.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>
|
|
@@ -746,16 +709,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}-aarch64-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
|
- <param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-aarch64-pc-linux-gnu.tar.bz2"/>
|
|
- <param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
|
- <param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-linux_aarch64.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">
|
|
@@ -764,16 +717,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">
|
|
@@ -782,16 +725,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"/>
|