mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Removing per-board compilation speedup checks.
This commit is contained in:
@ -1626,8 +1626,7 @@ public class Sketch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
File appletFolder = new File(appletPath);
|
File appletFolder = new File(appletPath);
|
||||||
String use_dep = Base.getBoardPreferences().get("build.dependency");
|
if (deleteFilesOnNextBuild) {
|
||||||
if (use_dep == null || use_dep.compareToIgnoreCase("true") != 0 || deleteFilesOnNextBuild) {
|
|
||||||
// delete the entire directory and all contents
|
// delete the entire directory and all contents
|
||||||
// when we know something changed and all objects
|
// when we know something changed and all objects
|
||||||
// need to be recompiled, or if the board does not
|
// need to be recompiled, or if the board does not
|
||||||
|
@ -297,9 +297,6 @@ public class Compiler implements MessageConsumer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean is_already_compiled(File src, File obj, File dep, Map<String, String> prefs) {
|
private boolean is_already_compiled(File src, File obj, File dep, Map<String, String> prefs) {
|
||||||
String build_dep = prefs.get("build.dependency");
|
|
||||||
if (build_dep == null) return false;
|
|
||||||
if (build_dep.compareToIgnoreCase("true") != 0) return false;
|
|
||||||
boolean ret=true;
|
boolean ret=true;
|
||||||
try {
|
try {
|
||||||
//System.out.println("\n is_already_compiled: begin checks: " + obj.getPath());
|
//System.out.println("\n is_already_compiled: begin checks: " + obj.getPath());
|
||||||
|
Reference in New Issue
Block a user