--- a/targets/toolchain_makefile.py Thu Mar 27 10:06:30 2014 +0100
+++ b/targets/toolchain_makefile.py Sat Mar 29 14:49:48 2014 +0100
@@ -6,6 +6,15 @@
includes_re = re.compile('\s*#include\s*["<]([^">]*)[">].*')
+ # on windows, desktop shortcut launches Beremiz.py + # with working dir set to mingw/bin. + # then we prefix CWD to PATH in order to ensure that + # commands invoked from Makefiles will first resolve + os.environ["PATH"] = os.getcwd()+';'+os.environ["PATH"] class toolchain_makefile():
def __init__(self, CTRInstance):
self.CTRInstance = CTRInstance