mirror of https://github.com/ARMmbed/mbed-os.git
Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output:
parent
27fa463fcf
commit
eb2153ec49
|
@ -649,8 +649,12 @@ class mbedToolchain:
|
||||||
return bin
|
return bin
|
||||||
|
|
||||||
def default_cmd(self, command):
|
def default_cmd(self, command):
|
||||||
self.debug("Command: %s"% ' '.join(command))
|
|
||||||
_stdout, _stderr, _rc = run_cmd(command)
|
_stdout, _stderr, _rc = run_cmd(command)
|
||||||
|
# Print all warning / erros from stderr to console output
|
||||||
|
for error_line in _stderr.splitlines():
|
||||||
|
print error_line
|
||||||
|
|
||||||
|
self.debug("Command: %s"% ' '.join(command))
|
||||||
self.debug("Return: %s"% _rc)
|
self.debug("Return: %s"% _rc)
|
||||||
|
|
||||||
for output_line in _stdout.splitlines():
|
for output_line in _stdout.splitlines():
|
||||||
|
|
Loading…
Reference in New Issue