targets/toolchain_makefile.py
changeset 1402 49441045b192
parent 1387 435965ca8b63
child 1511 91538d0c242c
equal deleted inserted replaced
1401:611fded24ce4 1402:49441045b192
     3 import hashlib
     3 import hashlib
     4 
     4 
     5 import time
     5 import time
     6 
     6 
     7 includes_re =  re.compile('\s*#include\s*["<]([^">]*)[">].*')
     7 includes_re =  re.compile('\s*#include\s*["<]([^">]*)[">].*')
       
     8 
       
     9 
       
    10 if os.name == 'nt':
       
    11     # on windows, desktop shortcut launches Beremiz.py
       
    12     # with working dir set to mingw/bin.
       
    13     # then we prefix CWD to PATH in order to ensure that
       
    14     # commands invoked from Makefiles will first resolve
       
    15     # to here.
       
    16     os.environ["PATH"] = os.getcwd()+';'+os.environ["PATH"]
     8 
    17 
     9 class toolchain_makefile():
    18 class toolchain_makefile():
    10     def __init__(self, CTRInstance):
    19     def __init__(self, CTRInstance):
    11         self.CTRInstance = CTRInstance
    20         self.CTRInstance = CTRInstance
    12         self.md5key = None 
    21         self.md5key = None