Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-11 Thread rpj...@crashcourse.ca
On Tue, 11 Feb 2020, Richard Purdie wrote: > On Tue, 2020-02-11 at 05:32 -0500, rpj...@crashcourse.ca wrote: > > second, i think we all agree that it is rarely necessary to use > > "PROVIDES +=", although i did run across one case in > > recipes-core/glibc/glibc.inc: > > > > PROVIDES = "virtua

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-11 Thread Richard Purdie
On Tue, 2020-02-11 at 05:32 -0500, rpj...@crashcourse.ca wrote: > second, i think we all agree that it is rarely necessary to use > "PROVIDES +=", although i did run across one case in > recipes-core/glibc/glibc.inc: > > PROVIDES = "virtual/libc" > PROVIDES += "virtual/libintl virtual/libico

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-11 Thread rpj...@crashcourse.ca
On Sat, 8 Feb 2020, Jonatan Palsson wrote: > Hello Robert & Leon, > > > So I think it might be harmful to replace it with "=", as it would no > > longer provide libpcre. > > I had a look at the variable expansions bitbake -e. Here are two > examples. The vim recipe uses "PROVIDES = xxd" (which wou

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-08 Thread rpj...@crashcourse.ca
On Sat, 8 Feb 2020, Jonatan Palsson wrote: snip ... > See the bottom example here: > https://www.yoctoproject.org/docs/3.1/bitbake-user-manual/bitbake-user-manual.html#variable-interaction-worked-examples ironically, i am shortly going to ask a convoluted question about this very thing --

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-08 Thread rpj...@crashcourse.ca
On Sat, 8 Feb 2020, Jonatan Palsson wrote: > Hello Robert & Leon, > > > So I think it might be harmful to replace it with "=", as it would no > > longer provide libpcre. > > I had a look at the variable expansions bitbake -e. Here are two > examples. The vim recipe uses "PROVIDES = xxd" (which wou

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-08 Thread Jonatan PĂ„lsson
Hello Robert & Leon, > So I think it might be harmful to replace it with "=", as it would no > longer provide libpcre. I had a look at the variable expansions bitbake -e. Here are two examples. The vim recipe uses "PROVIDES = xxd" (which would cause weird effects if = simply overwrote any existin

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-08 Thread rpj...@crashcourse.ca
On Sat, 8 Feb 2020, Leon Woestenberg wrote: > Hello Robert, > > > i am *assuming* that, in the absence of a compelling reason, the use > > of "+=" instead of "=" in this context is harmless, but unnecessary, > > correct? > > > My understanding is that: > > > meta/recipes-support/libpcre/libpcre_

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-08 Thread Leon Woestenberg
Hello Robert, > i am *assuming* that, in the absence of a compelling reason, the use > of "+=" instead of "=" in this context is harmless, but unnecessary, > correct? > My understanding is that: > meta/recipes-support/libpcre/libpcre_8.43.bb:PROVIDES += "pcre" means "I provide both "libpcre" a