On 01/18/2013 01:45 PM, Martin Jansa wrote:
On Fri, Jan 18, 2013 at 04:35:34PM -0500, Robert P. J. Day wrote:

   perusing oe-core for examples to demonstrate the concept of
"PROVIDES =", and i ran across this in recipes-devtools/dpkg/dpkg.inc:

PROV = "virtual/update-alternatives"
PROV_class-native = ""

PROV is variable with no special meaning
class-native is standard override for native recipe (like
virtclass-native was before).

PROVIDES += "${PROV}"

   i'm not sure what to make of that -- what's the purpose of assigning
to PROV, then subsequently assigning to PROVIDES, but with that

PROV_class-native = ""

line in between?  i did a grep and saw nothing else like it throughout
oe-core.

I believe that idea is since it's PROVIDES += , not a straight assignment like = it's not a simple to override with the +=, so for the target case PROVIDE the virtual/u-a, but not for the native case of that package.

If it was a straight assignment (using =) the ${PROV} would not be needed.

Sau!

rday

--

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

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

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to