Re: [OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-12 Thread Robert Yang
I've done a world build on qemux86 with: PROVIDES_prepend = "${PN} " it worked well. // Robert On 09/09/2013 10:14 PM, Richard Purdie wrote: For a long time we've provided PN-PV and PN-PV-PR by tweaking PROVIDES. This looks nice at first glance however it turns out to be a bit problematic.

Re: [OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-11 Thread Robert Yang
On 09/11/2013 06:10 PM, Richard Purdie wrote: On Wed, 2013-09-11 at 17:31 +0800, Robert Yang wrote: On 09/10/2013 10:08 PM, Richard Purdie wrote: On Tue, 2013-09-10 at 15:33 +0800, Robert Yang wrote: Thanks, Can we provide a replacement for the "bitbake PN-PV" since it is useful, for exampl

Re: [OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-11 Thread Richard Purdie
On Wed, 2013-09-11 at 17:31 +0800, Robert Yang wrote: > > On 09/10/2013 10:08 PM, Richard Purdie wrote: > > On Tue, 2013-09-10 at 15:33 +0800, Robert Yang wrote: > >> Thanks, Can we provide a replacement for the "bitbake PN-PV" since it is > >> useful, for example, can we support the PREFERRED_VER

Re: [OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-11 Thread Robert Yang
On 09/10/2013 10:08 PM, Richard Purdie wrote: On Tue, 2013-09-10 at 15:33 +0800, Robert Yang wrote: Thanks, Can we provide a replacement for the "bitbake PN-PV" since it is useful, for example, can we support the PREFERRED_VERSION_${PN} in the env in the future ? There is a similar bug: https

Re: [OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-10 Thread Richard Purdie
On Tue, 2013-09-10 at 15:33 +0800, Robert Yang wrote: > Thanks, Can we provide a replacement for the "bitbake PN-PV" since it is > useful, for example, can we support the PREFERRED_VERSION_${PN} in the env > in the future ? There is a similar bug: > > https://bugzilla.yoctoproject.org/show_bug.cgi

Re: [OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-10 Thread Robert Yang
Hi RP, Thanks, Can we provide a replacement for the "bitbake PN-PV" since it is useful, for example, can we support the PREFERRED_VERSION_${PN} in the env in the future ? There is a similar bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4965 // Robert On 09/09/2013 10:14 PM, Richard

Re: [OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-09 Thread Chris Larson
On Mon, Sep 9, 2013 at 7:14 AM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > For a long time we've provided PN-PV and PN-PV-PR by tweaking PROVIDES. > This looks > nice at first glance however it turns out to be a bit problematic. Taking > make as an > example where there are two

[OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

2013-09-09 Thread Richard Purdie
For a long time we've provided PN-PV and PN-PV-PR by tweaking PROVIDES. This looks nice at first glance however it turns out to be a bit problematic. Taking make as an example where there are two versions, 3.81 and 3.82, what should "bitbake make-3.81" do? Currently it builds make-3.81 and make