targets/toolchain_makefile.py
changeset 1747 6046ffa2280f
parent 1742 92932cd370a4
child 1758 845ca626db09
equal deleted inserted replaced
1746:45d6f5fba016 1747:6046ffa2280f
   113                              }
   113                              }
   114 
   114 
   115             # clean sequence of multiple whitespaces
   115             # clean sequence of multiple whitespaces
   116             cmd = re.sub(r"[ ]+", " ", target.getCommand().strip())
   116             cmd = re.sub(r"[ ]+", " ", target.getCommand().strip())
   117 
   117 
   118             command = [ token % beremizcommand for token in cmd.split(' ')]
   118             command = [token % beremizcommand for token in cmd.split(' ')]
   119 
   119 
   120             # Call Makefile to build PLC code and link it with target specific code
   120             # Call Makefile to build PLC code and link it with target specific code
   121             status, result, err_result = ProcessLogger(self.CTRInstance.logger,
   121             status, result, err_result = ProcessLogger(self.CTRInstance.logger,
   122                                                        command).spin()
   122                                                        command).spin()
   123             if status:
   123             if status: