use PATH_MAKE when compiling Contiki mote types. doesn't work on BSD systems

otherwise.
This commit is contained in:
nvt-se 2009-09-07 15:05:05 +00:00
parent ae8bd7a7b6
commit b5295fef10

View file

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