On Mon, Aug 11, 2014 at 4:40 AM, Robert P. J. Day <rpj...@crashcourse.ca> wrote:
> collecting examples of recipe design and variants, and bitbake user > manual refers to BBVERSIONS variable to allow a recipe file to build > multiple versions from one file, but in the dozen or so layers i have > checked out, i've seen not a single example of usage of that variable. > > are there any? > Nope, as far as I know, it's not being used at all at the moment. The idea was we could use it to avoid having multiple recipes with different versions and .inc includes all over the place, but then policy changed to tend to prefer having just a single recipe version around, so it's of less use. If you'd like to see an example of a prototyped recipe using it, which I created while implementing BBVERSIONS, see https://gist.github.com/kergoth/338382. This was an attempt, at the time (2010) to have a single m4 recipe that was capable of building every m4 version that existed. It was mostly to see if it could be done :) -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto