equal
deleted
inserted
replaced
27 import hashlib |
27 import hashlib |
28 |
28 |
29 import time |
29 import time |
30 |
30 |
31 includes_re = re.compile('\s*#include\s*["<]([^">]*)[">].*') |
31 includes_re = re.compile('\s*#include\s*["<]([^">]*)[">].*') |
32 |
|
33 |
|
34 if os.name == 'nt': |
|
35 # on windows, desktop shortcut launches Beremiz.py |
|
36 # with working dir set to mingw/bin. |
|
37 # then we prefix CWD to PATH in order to ensure that |
|
38 # commands invoked from Makefiles will first resolve |
|
39 # to here. |
|
40 os.environ["PATH"] = os.getcwd()+';'+os.environ["PATH"] |
|
41 |
32 |
42 class toolchain_makefile(): |
33 class toolchain_makefile(): |
43 def __init__(self, CTRInstance): |
34 def __init__(self, CTRInstance): |
44 self.CTRInstance = CTRInstance |
35 self.CTRInstance = CTRInstance |
45 self.md5key = None |
36 self.md5key = None |