[yocto] BB_DANGLINGAPPENDS_WARNONLY = "1" or "true"?

Khem Raj raj.khem at gmail.com
Mon Nov 4 11:29:38 PST 2013


On Nov 4, 2013, at 10:47 AM, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:

> On Sunday 03 November 2013 12:49:16 Khem Raj wrote:
>> On Sat, Nov 2, 2013 at 3:27 AM, Robert P. J. Day <rpjday at crashcourse.ca> 
> wrote:
>>>  (i can see it's going to be that kind of weekend.) ref manual reads:
>>>     BB_DANGLINGAPPENDS_WARNONLY = "1"
>>> 
>>> but some layers define:
>>> 
>>> meta-linaro/meta-aarch64/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY =
>>> "true"
>>> meta-linaro/meta-linaro-toolchain/conf/layer.conf:BB_DANGLINGAPPENDS_WARN
>>> ONLY = "true"
>>> meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY =
>>> "true"
>>> poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY
>>> ?= "true"
>>> 
>>> so general question(s) -- is it understood that "1" and "true" are
>>> equivalent? should there be a standard? should the ref manual be
>>> enhanced, or should the above layers clean themselves up?
>> 
>> They are all correct. Accepted values are
>> 
>> "1", "yes", "true"
> 
> Note - for this variable only. For consistency with other "boolean" type 
> variables I'd suggest sticking to "1”.

may be it should be deprecated slowly for other values.


More information about the yocto mailing list