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 > > >
signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto