[Buildroot] CMake and VERBOSE variable

Cédric Marie cedric.marie at openmailbox.org
Thu Jun 11 07:37:17 UTC 2015


Hi,

Le 2015-06-11 00:00, Arnout Vandecappelle a écrit :
>  The reason to export is, is to pass it to sub-makes that make use of 
> the same
> mechanism, e.g. the kernel.
> 
>  However, there's something to be said for exporting it only if V=1.

Is it OK to export it when defined? i.e.:

ifndef VERBOSE
   export VERBOSE = 1
endif

This is the local fix I'm using.


>> NB: All other variables in that list seems to always be not empty.

Replying to myself: No, most of them are also exported empty, but it is 
alright. Only VERBOSE will have a special meaning when defined empty.


>  The thing is, the working of CMAKE_NO_VERBOSE is not intuitive either 
> (because
> it can still be combined with VERBOSE=1).

The different kinds of verbose modes seem to be neither intuitive nor 
documented...


Thank you,

-- 
Cédric



More information about the buildroot mailing list