targets/toolchain_makefile.py
changeset 1709 1e8900fc8ddb
parent 1575 de2da05089ea
child 1730 64d8f52bc8c8
equal deleted inserted replaced
1708:24416137cda7 1709:1e8900fc8ddb
   108                               "md5": self.md5key,
   108                               "md5": self.md5key,
   109                               "buildpath": self.buildpath
   109                               "buildpath": self.buildpath
   110                              }
   110                              }
   111             
   111             
   112             # clean sequence of multiple whitespaces 
   112             # clean sequence of multiple whitespaces 
   113             cmd = re.sub(r"[ ]+", " ", target.getCommand())
   113             cmd = re.sub(r"[ ]+", " ", target.getCommand().strip())
   114 
   114 
   115             command = [ token % beremizcommand for token in cmd.split(' ')]
   115             command = [ token % beremizcommand for token in cmd.split(' ')]
   116 
   116 
   117             # Call Makefile to build PLC code and link it with target specific code
   117             # Call Makefile to build PLC code and link it with target specific code
   118             status, result, err_result = ProcessLogger(self.CTRInstance.logger,
   118             status, result, err_result = ProcessLogger(self.CTRInstance.logger,