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

Paul Eggleton paul.eggleton at linux.intel.com
Mon Nov 4 11:02:19 PST 2013


On Monday 04 November 2013 13:54:24 Robert P. J. Day wrote:
> On Mon, 4 Nov 2013, Paul Eggleton 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_W
> > > > ARN
> > > > ONLY = "true"
> > > > meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY =
> > > > "true"
> > > > poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONL
> > > > Y
> > > > ?= "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".
> 
>   wait ... so those three synonyms are equivalent for only that one
> variable? ewwwwwwwwww ...

That's the way it has been coded in this instance I'm afraid, yes.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list