[yocto] How to build a recipe having two versions
Khem Raj
raj.khem at gmail.com
Sun Nov 6 22:10:48 PST 2016
On 11/6/16 9:53 PM, Bipnesh, Abhinav (Abhinav) wrote:
> Hi,
>
>
>
> I was looking into a way to build an recipe which has two version files. For
> the xerces-c we have two version of files. Below is the list of the same
>
> ./customlayer/xerces-c/xerces-c_2.8.0.bb
>
> ./meta-openembedded/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.2.bb
>
>
>
> Now as the code we are using need to use xerces-c_2.8.0.bb and not the
> xerces_3.1.2.bb files. So when we try to fire command as bitbake xerces-c it
> always tries to build 3.1.2 and not 2.8.0 files. So is there a way we can
> explicitly call the older version file for building instead of the new version.
you can pin versions of packages e.g. using PREFERERRED_VERSION_xerces =
"2.8.0" in local.conf also read the relevant section in manual
https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#var-PREFERRED_VERSION
>
>
>
> Please let me know if you need more information.
>
>
>
> Thanks,
>
> Abhinav
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161106/41bc357b/attachment.pgp>
More information about the yocto
mailing list