superfluous usage of "INC_PR" in oe-core?
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
Quoted 4 lines · Robert P. J. Day
given my understanding of the rationale for
INC_PR, it would seem
as
if at least *some* of these assignments are superfluous:
Quoted 8 lines
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
Quoted 14 lines · Richard Purdie
Quoted 4 lines · Robert P. J. Day
given my understanding of the rationale for
INC_PR, it would seem
as
if at least *some* of these assignments are superfluous:Quoted 8 lines
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"
Quoted 1 line
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
Quoted 20 lines · Robert P. J. Day
Quoted 18 lines · Richard Purdie
Quoted 16 lines · Robert P. J. Day
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"
Quoted 6 lines
Quoted 2 lines
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_PRanymore,
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