Re: [yocto] How to specify a default value for a variable in a recipe

2014-06-13 Thread Patrick Doyle
On Fri, Jun 13, 2014 at 10:13 AM, Gary Thomas wrote: > Any time you need to set the variable outside of the recipe itself (.bb* or > .inc), > then you need the _pn-${recipe} syntax. Ahhh…. that's good to know. I keep wanting to understand the scope rules of bitbake. This helps. Thanks Gary. --

Re: [yocto] How to specify a default value for a variable in a recipe

2014-06-13 Thread Gary Thomas
On 2014-06-13 08:07, Patrick Doyle wrote: On Fri, Jun 13, 2014 at 9:47 AM, Gary Thomas wrote: If this is in the gstxbac recipe itself, use the much simpler SRCREV ?= "${AUTOREV}" Even better! While I like that solution best of all, that opens up a whole new world of hurt for me. How does

Re: [yocto] How to specify a default value for a variable in a recipe

2014-06-13 Thread Patrick Doyle
On Fri, Jun 13, 2014 at 9:47 AM, Gary Thomas wrote: > If this is in the gstxbac recipe itself, use the much simpler > SRCREV ?= "${AUTOREV}" Even better! While I like that solution best of all, that opens up a whole new world of hurt for me. How does SRCREV_default_pn-gstxbac = "${AUTOREV}"

Re: [yocto] How to specify a default value for a variable in a recipe

2014-06-13 Thread Gary Thomas
On 2014-06-13 07:08, Patrick Doyle wrote: OK, I've got to ask this, because it totally confuses me. I wrote a recipe to build a custom application (gstreamer plugin, actually) that I wanted to fetch from our SCM. Bitbake told me I needed to specify a source revision and even gave me a clue of w

[yocto] How to specify a default value for a variable in a recipe

2014-06-13 Thread Patrick Doyle
OK, I've got to ask this, because it totally confuses me. I wrote a recipe to build a custom application (gstreamer plugin, actually) that I wanted to fetch from our SCM. Bitbake told me I needed to specify a source revision and even gave me a clue of what to put in. Looking at the development m