don't rebuild the makefile based project if only companyName, projectName or productName are changed
And this fix current encoding issues, because all these information fields can
contain non-latin characters.
--- a/targets/toolchain_makefile.py Tue Nov 22 18:42:48 2016 +0300
+++ b/targets/toolchain_makefile.py Thu Nov 24 13:17:06 2016 +0300
@@ -95,11 +95,7 @@
oldmd5 = self.md5key
self.md5key = hashlib.md5(wholesrcdata).hexdigest()
- props = self.CTRInstance.GetProjectProperties()
- self.md5key += '#'.join([props[key] for key in ['companyName',
- 'projectName',
- 'productName']])
- self.md5key += '#' #+','.join(map(str,time.localtime()))
+
# Store new PLC filename based on md5 key
f = open(self._GetMD5FileName(), "w")
f.write(self.md5key)