[bitbake-devel] can someone explain "git" versus "gitr" wrt PREFERRED_VERSION?
Martin Jansa
martin.jansa at gmail.com
Sun Jun 22 13:25:28 UTC 2014
On Sun, Jun 22, 2014 at 08:52:08AM -0400, Robert P. J. Day wrote:
>
> possibly a stupid question but i've never let that stop me before.
> still rummaging around in the bitbake user manual and looking through
> the oe and poky codebase, and i notice examples like this (from poky).
>
> first, there's the recipe and PREFERRED_VERSION for drm:
>
> meta/recipes-graphics/drm/libdrm_git.bb:
> SRCREV = "e01d68f9f3acfc35fe164283904b5d058c2ab378"
> PV = "2.4.40+git${SRCPV}"
>
> meta-yocto/conf/distro/include/poky-floating-revisions.inc:
> #PREFERRED_VERSION_libdrm ?= "2.4.0+git${SRCREV}"
>
> also, the recipe and PFEFERRED_VERSION for libxcb:
>
> meta/recipes-graphics/xorg-lib/libxcb_git.bb:
> SRCREV = "625ed596cae6dd8175aeb6cb6f26784928042f22"
> PV = "1.1.90.1+gitr${SRCPV}"
>
> meta-yocto/conf/distro/include/poky-floating-revisions.inc:
> #PREFERRED_VERSION_libxcb ?= "1.1.90.1+gitr${SRCREV}"
>
>
> admittedly, the PREFERRED_VERSION settings for both of those are
> commented out, but why does the first use:
>
> git${SRCREV}
>
> while the second uses:
>
> gitr${SRCREV}
>
> so what's with "git" versus "gitr"? i see no mention of this in the
> bitbake user manual (would that be the right place to explain that?).
> or is that covered in one of the higher-level yocto manuals?
Read this thread:
http://lists.openembedded.org/pipermail/openembedded-core/2012-February/056558.html
> also (and i realize this is outside the scope of the bitbake
> manual), i noticed the meta-oe layer adds another git-based version
> selector in the gitpkgv.bbclass. is *that* documented anywhere? i
> don't see a single mention of the phrase "gitpkgv" in any of the
> current yocto docs.
I think it's only documented in that .bbclass.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20140622/4c3d1c71/attachment-0002.sig>
More information about the bitbake-devel
mailing list