targets/toolchain_makefile.py
changeset 1549 f526fd97a7b0
parent 1543 61f0f31ef296
child 1575 de2da05089ea
--- a/targets/toolchain_makefile.py	Fri Oct 21 13:06:31 2016 +0300
+++ b/targets/toolchain_makefile.py	Mon Oct 24 18:02:53 2016 +0300
@@ -30,15 +30,6 @@
 
 includes_re =  re.compile('\s*#include\s*["<]([^">]*)[">].*')
 
-
-if os.name == 'nt':
-    # 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
-    # to here.
-    os.environ["PATH"] = os.getcwd()+';'+os.environ["PATH"]
-
 class toolchain_makefile():
     def __init__(self, CTRInstance):
         self.CTRInstance = CTRInstance