From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 10 Dec 2019 06:05:54 -0700 Subject: [PATCH 1/1] buildman: Improve [make-flags] section parser to allow quoted strings In-Reply-To: <0f4dc08cf6c7382d972b0d82741b0435475f2f6d.1574627355.git.cristian.ciocaltea@gmail.com> References: <0f4dc08cf6c7382d972b0d82741b0435475f2f6d.1574627355.git.cristian.ciocaltea@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 24 Nov 2019 at 13:30, Cristian Ciocaltea 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 > delimiter with a regex tokenizer that preserves spaces inside double > quoted strings. > > Signed-off-by: Cristian Ciocaltea > --- > tools/buildman/toolchain.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass