[bitbake-devel] curious about setting of PROVIDES in bitbake.conf

Robert P. J. Day rpjday at crashcourse.ca
Wed Jun 18 22:35:09 UTC 2014


On Wed, 18 Jun 2014, Paul Eggleton wrote:

> On Wednesday 18 June 2014 09:10:00 Robert P. J. Day wrote:
> >   from current bitbake.conf file:
> >
> > PROVIDES = ""
> > PROVIDES_prepend = "${PN} "
> >
> > is there a reason that PROVIDES is set to null, only to immediately
> > set it based on the following line? is there some subtle issue this is
> > meant to address?
>
> I think the intention is to set the initial value to blank, and
> ensure that ${PN} is the first item in the list (since _prepend gets
> applied later). If you just simply had PROVIDES = "${PN}" then it
> could be overridden somewhere else such that ${PN} was not in
> PROVIDES at all, which would be counter-intuitive.

  ah, of course, i should have thought of that. duh.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the bitbake-devel mailing list