diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index aaa28162f..416cbedad 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -1534,12 +1534,12 @@ public class Base { static public String getAvrBasePath() { - if(Base.isLinux()) { - return ""; // avr tools are installed system-wide and in the path - } else { - return getHardwarePath() + File.separator + "tools" + - File.separator + "avr" + File.separator + "bin" + File.separator; - } + String path = getHardwarePath() + File.separator + "tools" + + File.separator + "avr" + File.separator + "bin" + File.separator; + if (Base.isLinux() && !(new File(path)).exists()) { + return ""; // use distribution provided avr tools if bundled tools missing + } + return path; } diff --git a/build/build.xml b/build/build.xml index 6a40d1b2c..a0591963c 100644 --- a/build/build.xml +++ b/build/build.xml @@ -349,6 +349,13 @@ + + + + + + + diff --git a/build/linux/avr_tools_linux32.tar.bz2 b/build/linux/avr_tools_linux32.tar.bz2 new file mode 100644 index 000000000..28ed9d312 Binary files /dev/null and b/build/linux/avr_tools_linux32.tar.bz2 differ