[bitbake-devel] wanting clarification on overrides, _append, += and combinations of those

Richard Purdie richard.purdie at linuxfoundation.org
Sun Nov 25 21:39:33 UTC 2012


On Sat, 2012-11-24 at 09:42 -0500, Robert P. J. Day wrote:
> one more question, if i might ...
> 
> On Sat, 24 Nov 2012, Robert P. J. Day wrote:
> 
> > RDEPENDS_python-smartpm_append = " python-smartpm-backend-rpm python-codecs python-textutils python-xml"
> > RDEPENDS_python-smartpm_append += " python-fcntl python-pickle python-crypt python-compression python-shell"
> > RDEPENDS_python-smartpm_append += " python-resource python-netclient python-threading python-unixadmin"
> 
>   is there a reason the above couldn't have been written as something
> like:
> 
> RDEPENDS_python-smartpm += "python-fcntl python-pickle python-crypt python-compression python-shell"
> RDEPENDS_python-smartpm += "python-resource python-netclient python-threading python-unixadmin"
> 
>   as i understand it, the purpose of "_append" is to give the
> developer control over being able to append something at the very end
> of the processing -- in other words, it's used when ordering is
> important.
> 
>   but is there any ordering issue when simply creating the value of
> RDEPENDS?  does it matter how the items are ordered there?  if not,
> then using "_append" seems like overkill.

In this case I'd agree, it does seem a little over the top.

Cheers,

Richard






More information about the bitbake-devel mailing list