# HG changeset patch # User Andrey Skvortsov # Date 1498559448 -10800 # Node ID 1e8900fc8ddbce31d1298d0d302a475535ad856c # Parent 24416137cda73d7217447980e99169934c412c4f fix build problem when make command have trailing whitespace(s) whitespaces at the end are replaced with "", that causes make problem 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(' ')]