Merge pull request #5002 from gohai/arm64

Add support for 64-bit ARM boards
This commit is contained in:
Ben Fry
2017-04-20 14:37:20 -04:00
committed by GitHub
6 changed files with 65 additions and 13 deletions

View File

@@ -709,11 +709,15 @@ public class JavaBuild {
return false;
}
if (platform == PConstants.LINUX) {
// export the armv6hf version as well
// export the arm versions as well
folder = new File(sketch.getFolder(), "application.linux-armv6hf");
if (!exportApplication(folder, platform, "armv6hf", embedJava && (bits == 32) && "arm".equals(arch))) {
return false;
}
folder = new File(sketch.getFolder(), "application.linux-arm64");
if (!exportApplication(folder, platform, "arm64", embedJava && (bits == 64) && "aarch64".equals(arch))) {
return false;
}
}
} else { // just make a single one for this platform
folder = new File(sketch.getFolder(), "application." + platformName);