[OE-core] "IMAGE_INSTALL_append" versus "IMAGE_INSTALL +="?
Robert P. J. Day
rpjday at crashcourse.ca
Fri Mar 9 10:19:14 UTC 2012
the current yocto dev manual contains the following:
===== start
"4.3.4.1. Adding Packages
The simplest way to add extra packages to all images is by using the
IMAGE_INSTALL variable with the _append operator:
IMAGE_INSTALL_append = " strace"
Use of the syntax is important. Specifically, the space between the
quote and the package name, which is strace in this example. This
space is required since the _append operator does not add the space.
Furthermore, you must use _append instead of the += operator if you
want to avoid ordering issues."
===== end
but oe-core occasionally uses the form discouraged above, as in the
case of core-image-minimal-mtdutils.bb:
IMAGE_INSTALL += "mtd-utils"
perhaps i'm misreading something, but it's definitely confusing to
read that section in the manual, then find examples like the above in
oe-core.
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 Openembedded-core
mailing list