ARM: Add arm64 support to app, core & mode

Currently untested.
This commit is contained in:
gohai
2017-04-06 16:42:19 +02:00
parent cb8e37ed43
commit 5a5524b197
4 changed files with 35 additions and 5 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);