|
26 | 26 | <condition property="platform" value="windows"><os family="windows" /></condition> |
27 | 27 | <condition property="platform" value="linux32"><os family="unix" arch="i386" /></condition> |
28 | 28 | <condition property="platform" value="linux64"><os family="unix" arch="amd64" /></condition> |
29 | | - <condition property="platform" value="arm"><os family="unix" arch="arm" /></condition> |
| 29 | + <condition property="platform" value="linuxarm"><os family="unix" arch="arm" /></condition> |
30 | 30 |
|
31 | 31 | <condition property="macosx"><equals arg1="${platform}" arg2="macosx" /></condition> |
32 | 32 | <condition property="windows"><equals arg1="${platform}" arg2="windows" /></condition> |
33 | 33 | <condition property="linux32"><equals arg1="${platform}" arg2="linux32" /></condition> |
34 | 34 | <condition property="linux64"><equals arg1="${platform}" arg2="linux64" /></condition> |
35 | 35 | <condition property="linux"><equals arg1="${platform}" arg2="linux32" /></condition> |
36 | 36 | <condition property="linux"><equals arg1="${platform}" arg2="linux64" /></condition> |
37 | | - <condition property="linux"><equals arg1="${platform}" arg2="arm" /></condition> |
| 37 | + <condition property="linux"><equals arg1="${platform}" arg2="linuxarm" /></condition> |
38 | 38 |
|
39 | 39 | <condition property="staging_folder" value="macosx"><equals arg1="${platform}" arg2="macosx" /></condition> |
40 | 40 | <condition property="staging_folder" value="windows"><equals arg1="${platform}" arg2="windows" /></condition> |
41 | 41 | <condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linux32" /></condition> |
42 | 42 | <condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linux64" /></condition> |
43 | | - <condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="arm" /></condition> |
| 43 | + <condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linuxarm" /></condition> |
44 | 44 |
|
45 | 45 | <condition property="staging_hardware_folder" value="Arduino.app/Contents/Java/hardware"><equals arg1="${platform}" arg2="macosx" /></condition> |
46 | 46 | <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="windows" /></condition> |
47 | 47 | <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linux32" /></condition> |
48 | 48 | <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linux64" /></condition> |
49 | | - <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="arm" /></condition> |
| 49 | + <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linuxarm" /></condition> |
50 | 50 |
|
51 | 51 | <condition property="arch-bits" value="32"> |
52 | 52 | <equals arg1="${platform}" arg2="linux32"/> |
53 | 53 | </condition> |
54 | 54 | <condition property="arch-bits" value="32"> |
55 | | - <equals arg1="${platform}" arg2="arm"/> |
| 55 | + <equals arg1="${platform}" arg2="linuxarm"/> |
56 | 56 | </condition> |
57 | 57 | <condition property="arch-bits" value="64"> |
58 | 58 | <equals arg1="${platform}" arg2="linux64"/> |
|
65 | 65 | <property name="WINDOWS_BUNDLED_JVM" value="${java.home}"/> |
66 | 66 | <property name="LINUX32_BUNDLED_JVM" value="none"/> |
67 | 67 | <property name="LINUX64_BUNDLED_JVM" value="none"/> |
| 68 | + <property name="LINUXARM_BUNDLED_JVM" value="none"/> |
68 | 69 | <condition property="linux-bundle-jvm-task" value="noop"> |
69 | 70 | <and> |
70 | 71 | <equals arg1="${LINUX32_BUNDLED_JVM}" arg2="none"/> |
71 | 72 | <equals arg1="${LINUX64_BUNDLED_JVM}" arg2="none"/> |
| 73 | + <equals arg1="${LINUXARM_BUNDLED_JVM}" arg2="none"/> |
72 | 74 | </and> |
73 | 75 | </condition> |
74 | 76 | <condition property="linux-bundle-jvm-task" value="bundle"> |
|
79 | 81 | <not> |
80 | 82 | <equals arg1="${LINUX64_BUNDLED_JVM}" arg2="none"/> |
81 | 83 | </not> |
| 84 | + <not> |
| 85 | + <equals arg1="${LINUXARM_BUNDLED_JVM}" arg2="none"/> |
| 86 | + </not> |
82 | 87 | </or> |
83 | 88 | </condition> |
84 | 89 |
|
|
684 | 689 |
|
685 | 690 | </target> |
686 | 691 |
|
687 | | - <target name="arm-build" depends="linux-libastyle-arm" description="Build linux (32-bit) version"> |
| 692 | + <target name="linuxarm-build" depends="linux-libastyle-arm" description="Build linux (32-bit) version"> |
688 | 693 | <antcall target="linux-jvm-${linux-bundle-jvm-task}"> |
689 | | - <param name="JVM" value="${LINUX32_BUNDLED_JVM}"/> |
| 694 | + <param name="JVM" value="${LINUXARM_BUNDLED_JVM}"/> |
690 | 695 | </antcall> |
691 | 696 |
|
692 | 697 | <delete dir="${staging_folder}/arduino-builder-arm" includeemptydirs="true"/> |
|
796 | 801 |
|
797 | 802 | <target name="linux64-run" depends="build,start"/> |
798 | 803 |
|
799 | | - <target name="arm-run" depends="build,start"/> |
| 804 | + <target name="linuxarm-run" depends="build,start"/> |
800 | 805 |
|
801 | 806 | <target name="linux32-start"> |
802 | 807 | <exec executable="./linux/work/arduino" spawn="false" failonerror="true"/> |
|
806 | 811 | <exec executable="./linux/work/arduino" spawn="false" failonerror="true"/> |
807 | 812 | </target> |
808 | 813 |
|
809 | | - <target name="arm-start"> |
| 814 | + <target name="linuxarm-start"> |
810 | 815 | <exec executable="./linux/work/arduino" spawn="false" failonerror="true"/> |
811 | 816 | </target> |
812 | 817 |
|
|
889 | 894 | </target> |
890 | 895 |
|
891 | 896 | <target name="linux32-dist" depends="linux-dist" |
892 | | - description="Build .tar.xz of linux version" /> |
| 897 | + description="Build .tar.xz of linux x86_32 version" /> |
893 | 898 |
|
894 | 899 | <target name="linux64-dist" depends="linux-dist" |
895 | | - description="Build .tar.xz of linux version" /> |
| 900 | + description="Build .tar.xz of linux x86_64 version" /> |
896 | 901 |
|
897 | | - <target name="arm-dist" depends="linux-dist" |
898 | | - description="Build .tar.xz of linux version" /> |
| 902 | + <target name="linuxarm-dist" depends="linux-dist" |
| 903 | + description="Build .tar.xz of linux armhf version" /> |
899 | 904 |
|
900 | 905 | <!-- - - - - - - - --> |
901 | 906 | <!-- Windows --> |
|
0 commit comments