Skip to contentSkip to conversation

anyone know of a single OE/yocto recipe that uses BBVERSIONS?

DISCUSSION Robert P. J. Day 2 participants 3 messages Aug 11, 2014

lore
Share & tools
lore
#0 lore raw

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?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 7 lines · Robert P. J. Day

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 :)

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 10 lines · Christopher Larson

On Mon, Aug 11, 2014 at 4:40 AM, Robert P. J. Day <[email protected]> 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?

Quoted 10 lines

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 :)

fair enough ... given that it doesn't seem to have a lot of
utilitarian value, i won't bother mentioning it in my notes. or, at most, very briefly.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================