Skip to content
Snippets Groups Projects
Commit 4251fbc6 authored by Cristian Ciocaltea's avatar Cristian Ciocaltea Committed by Simon Glass
Browse files

buildman: Improve [make-flags] section parser to allow quoted strings


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: default avatarCristian Ciocaltea <cristian.ciocaltea@gmail.com>
parent 5e5c785e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment