diff -r 24416137cda7 -r 1e8900fc8ddb targets/toolchain_makefile.py --- a/targets/toolchain_makefile.py Mon Jun 26 19:42:42 2017 +0300 +++ b/targets/toolchain_makefile.py Tue Jun 27 13:30:48 2017 +0300 @@ -110,7 +110,7 @@ } # clean sequence of multiple whitespaces - cmd = re.sub(r"[ ]+", " ", target.getCommand()) + cmd = re.sub(r"[ ]+", " ", target.getCommand().strip()) command = [ token % beremizcommand for token in cmd.split(' ')]