
10 Dec
2019
10 Dec
'19
2:05 p.m.
On Sun, 24 Nov 2019 at 13:30, Cristian Ciocaltea cristian.ciocaltea@gmail.com wrote:
The parser responsible for the '[make-flags]' section in the '.buildman' settings file is currently not able to handle quoted strings, as given in the sample bellow:
[make-flags] qemu_arm=HOSTCC="cc -isystem /add/include" HOSTLDFLAGS="-L/add/lib"
This patch replaces the simple string splitter based on the <space> delimiter with a regex tokenizer that preserves spaces inside double quoted strings.
Signed-off-by: Cristian Ciocaltea cristian.ciocaltea@gmail.com
tools/buildman/toolchain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org