1
0
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:
David A. Mellis
2011-12-16 18:49:43 -05:00
parent b0ae6e764d
commit 1a7fe19348
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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());