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

Robert P. J. Day rpjday at crashcourse.ca
Sat Nov 24 14:42:01 UTC 2012


  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.

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