[Buildroot] [PATCH 1/1] core: enhance printvars for variables with newlines

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Apr 3 14:50:12 UTC 2018


Hello,

On Tue,  3 Apr 2018 17:31:51 +0300, Stefan Becker wrote:
> If the variable content has newlines in it then the currently dumped
> content can't be fed again to GNU make. Add the option DEFINE_VARS which
> causes the variables to be dumped using
> 
>    define VAR
>    ... line 1 ...
>    ... line 2 ...
>    ...
>    endef
> 
> Updated the manual accordingly.

Just curious, what is the use case for feeding the printvars output
back into GNU Make ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list