From b5295fef106c50e0e9c20ef40a2fc0f4afcad6f7 Mon Sep 17 00:00:00 2001 From: nvt-se Date: Mon, 7 Sep 2009 15:05:05 +0000 Subject: [PATCH] use PATH_MAKE when compiling Contiki mote types. doesn't work on BSD systems otherwise. --- .../java/se/sics/cooja/dialogs/ContikiMoteCompileDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cooja/java/se/sics/cooja/dialogs/ContikiMoteCompileDialog.java b/tools/cooja/java/se/sics/cooja/dialogs/ContikiMoteCompileDialog.java index 003088f61..4bec680cf 100644 --- a/tools/cooja/java/se/sics/cooja/dialogs/ContikiMoteCompileDialog.java +++ b/tools/cooja/java/se/sics/cooja/dialogs/ContikiMoteCompileDialog.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ContikiMoteCompileDialog.java,v 1.3 2009/04/01 14:00:30 fros4943 Exp $ + * $Id: ContikiMoteCompileDialog.java,v 1.4 2009/09/07 15:05:05 nvt-se Exp $ */ package se.sics.cooja.dialogs; @@ -184,7 +184,7 @@ public class ContikiMoteCompileDialog extends AbstractCompileDialog { } return /*"make clean TARGET=cooja\n" + */ - "make " + getExpectedFirmwareFile(source).getName() + " TARGET=cooja" + defines; + GUI.getExternalToolsSetting("PATH_MAKE") + " " + getExpectedFirmwareFile(source).getName() + " TARGET=cooja" + defines; } public File getExpectedFirmwareFile(File source) {