Re: [Qemu-devel] [PATCH v2 03/13] build-sys: add a rule to print a variable

2017-12-19 Thread Eric Blake
On 12/19/2017 09:45 AM, Marc-André Lureau wrote: +Useful make targets +=== + +- help + + Print a help message for the most common build targets. Except that this patch forgot to tweak 'make help' to mention 'make print-VAR' ;) Well, I don't think print-VAR is a common build

Re: [Qemu-devel] [PATCH v2 03/13] build-sys: add a rule to print a variable

2017-12-19 Thread Marc-André Lureau
Hi On Fri, Dec 15, 2017 at 7:28 PM, Eric Blake wrote: > On 12/15/2017 09:06 AM, Marc-André Lureau wrote: >> $ make print-CFLAGS >> CFLAGS=-fsanitize=address -Og -g >> >> Trick from various sources: >> https://stackoverflow.com/questions/16467718/how-to-print-out-a-variable-in-makefile >> https://

Re: [Qemu-devel] [PATCH v2 03/13] build-sys: add a rule to print a variable

2017-12-15 Thread Eric Blake
On 12/15/2017 09:06 AM, Marc-André Lureau wrote: > $ make print-CFLAGS > CFLAGS=-fsanitize=address -Og -g > > Trick from various sources: > https://stackoverflow.com/questions/16467718/how-to-print-out-a-variable-in-makefile > https://www.cmcrossroads.com/article/printing-value-makefile-variable >

[Qemu-devel] [PATCH v2 03/13] build-sys: add a rule to print a variable

2017-12-15 Thread Marc-André Lureau
$ make print-CFLAGS CFLAGS=-fsanitize=address -Og -g Trick from various sources: https://stackoverflow.com/questions/16467718/how-to-print-out-a-variable-in-makefile https://www.cmcrossroads.com/article/printing-value-makefile-variable Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake --