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

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 18 15:50:32 UTC 2014


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.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the bitbake-devel mailing list