amperka/ino — Issue #24: ino can't find make under certain circumstances
Author: fabiankr
Created: 2012-03-05 18:48:26+00:00
State: open

Hello,

ino doesn't search for *make* like it does for other tools. In *build.py* the make() function needs to changed:

def make(self, makefile, **kwargs):
makefile = self.render_template(makefile + '.jinja', makefile, **kwargs)
self.e.find_arduino_tool('make', ['hardware', 'tools', 'avr', 'bin'])
ret = subprocess.call([self.e['make'], '-f', makefile, 'all'])
if ret != 0:
raise Abort("Make failed with code %s" % ret)