targets/toolchain_makefile.py
changeset 691 bb340874f09e
parent 677 607731b33026
child 717 1c23952dbde1
equal deleted inserted replaced
690:ef60d7e188e6 691:bb340874f09e
    96             
    96             
    97             # Call Makefile to build PLC code and link it with target specific code
    97             # Call Makefile to build PLC code and link it with target specific code
    98             status, result, err_result = ProcessLogger(self.PluginsRootInstance.logger,
    98             status, result, err_result = ProcessLogger(self.PluginsRootInstance.logger,
    99                                                        command).spin()
    99                                                        command).spin()
   100             if status :
   100             if status :
   101                 self.PluginsRootInstance.logger.write_error(_("C compilation of %s failed.\n"))
   101                 self.md5key = None
       
   102                 self.PluginsRootInstance.logger.write_error(_("C compilation failed.\n"))
   102                 return False
   103                 return False
   103             return True
   104             return True
   104         else :
   105         else :
   105             self.PluginsRootInstance.logger.write(_("Source didn't change, no build.\n"))
   106             self.PluginsRootInstance.logger.write(_("Source didn't change, no build.\n"))
   106             return True
   107             return True