All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* superfluous usage of "INC_PR" in oe-core?
@ 2020-05-03 17:07 Robert P. J. Day
  2020-05-05  9:58 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2020-05-03 17:07 UTC (permalink / raw
  To: OE Core mailing list


  given my understanding of the rationale for INC_PR, it would seem as
if at least *some* of these assignments are superfluous:

  recipes-connectivity/connman/connman.inc:INC_PR = "r20"
  recipes-graphics/xorg-driver/xorg-driver-common.inc:INC_PR = "r21"
  recipes-graphics/xorg-xserver/xserver-xorg.inc:INC_PR = "r8"
  recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
  recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
  recipes-graphics/xorg-font/encodings_1.0.5.bb:PR = "${INC_PR}.1"
  recipes-graphics/xorg-app/xorg-app-common.inc:INC_PR = "r8"
  recipes-kernel/linux/linux-yocto.inc:INC_PR = "r4"

rday

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] superfluous usage of "INC_PR" in oe-core?
  2020-05-03 17:07 superfluous usage of "INC_PR" in oe-core? Robert P. J. Day
@ 2020-05-05  9:58 ` Richard Purdie
  2020-05-05 12:19   ` Robert P. J. Day
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2020-05-05  9:58 UTC (permalink / raw
  To: openembedded-core

On Sun, 2020-05-03 at 13:07 -0400, Robert P. J. Day wrote:
>   given my understanding of the rationale for INC_PR, it would seem
> as
> if at least *some* of these assignments are superfluous:
> 
>   recipes-connectivity/connman/connman.inc:INC_PR = "r20"
>   recipes-graphics/xorg-driver/xorg-driver-common.inc:INC_PR = "r21"
>   recipes-graphics/xorg-xserver/xserver-xorg.inc:INC_PR = "r8"
>   recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
>   recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
>   recipes-graphics/xorg-font/encodings_1.0.5.bb:PR = "${INC_PR}.1"
>   recipes-graphics/xorg-app/xorg-app-common.inc:INC_PR = "r8"
>   recipes-kernel/linux/linux-yocto.inc:INC_PR = "r4"

This is a bit of a historical relic, I've sent a patch to clean it up.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] superfluous usage of "INC_PR" in oe-core?
  2020-05-05  9:58 ` [OE-core] " Richard Purdie
@ 2020-05-05 12:19   ` Robert P. J. Day
  2020-05-05 12:40     ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2020-05-05 12:19 UTC (permalink / raw
  To: openembedded-core

On Tue, 5 May 2020, Richard Purdie wrote:

> On Sun, 2020-05-03 at 13:07 -0400, Robert P. J. Day wrote:
> >   given my understanding of the rationale for INC_PR, it would seem
> > as
> > if at least *some* of these assignments are superfluous:
> >
> >   recipes-connectivity/connman/connman.inc:INC_PR = "r20"
> >   recipes-graphics/xorg-driver/xorg-driver-common.inc:INC_PR = "r21"
> >   recipes-graphics/xorg-xserver/xserver-xorg.inc:INC_PR = "r8"
> >   recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
> >   recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
> >   recipes-graphics/xorg-font/encodings_1.0.5.bb:PR = "${INC_PR}.1"
> >   recipes-graphics/xorg-app/xorg-app-common.inc:INC_PR = "r8"
> >   recipes-kernel/linux/linux-yocto.inc:INC_PR = "r4"
>
> This is a bit of a historical relic, I've sent a patch to clean it up.

  just to be clear, while there's not much value to INC_PR anymore,
it's still officially supported, yes? (there are a small number of
occurrences in meta-openembedded as well.)

rday

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] superfluous usage of "INC_PR" in oe-core?
  2020-05-05 12:19   ` Robert P. J. Day
@ 2020-05-05 12:40     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2020-05-05 12:40 UTC (permalink / raw
  To: Robert P. J. Day, openembedded-core

On Tue, 2020-05-05 at 08:19 -0400, Robert P. J. Day wrote:
> On Tue, 5 May 2020, Richard Purdie wrote:
> 
> > On Sun, 2020-05-03 at 13:07 -0400, Robert P. J. Day wrote:
> > >   given my understanding of the rationale for INC_PR, it would
> > > seem
> > > as
> > > if at least *some* of these assignments are superfluous:
> > > 
> > >   recipes-connectivity/connman/connman.inc:INC_PR = "r20"
> > >   recipes-graphics/xorg-driver/xorg-driver-common.inc:INC_PR =
> > > "r21"
> > >   recipes-graphics/xorg-xserver/xserver-xorg.inc:INC_PR = "r8"
> > >   recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR =
> > > "${INC_PR}.3"
> > >   recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
> > >   recipes-graphics/xorg-font/encodings_1.0.5.bb:PR =
> > > "${INC_PR}.1"
> > >   recipes-graphics/xorg-app/xorg-app-common.inc:INC_PR = "r8"
> > >   recipes-kernel/linux/linux-yocto.inc:INC_PR = "r4"
> > 
> > This is a bit of a historical relic, I've sent a patch to clean it
> > up.
> 
>   just to be clear, while there's not much value to INC_PR anymore,
> it's still officially supported, yes? (there are a small number of
> occurrences in meta-openembedded as well.)

It doesn't really have "support", its a convention. It can be used just
like any other intermediate variable. That said its a rather dated one
which isn't really appropriate now so we can probably remove the
documentation.conf entry. I've not looked at what the manuals say...

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-05 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-03 17:07 superfluous usage of "INC_PR" in oe-core? Robert P. J. Day
2020-05-05  9:58 ` [OE-core] " Richard Purdie
2020-05-05 12:19   ` Robert P. J. Day
2020-05-05 12:40     ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.