* What causes a variable being static/global
@ 2012-03-27 15:32 Andreas Müller
2012-04-01 13:10 ` Andreas Müller
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Müller @ 2012-03-27 15:32 UTC (permalink / raw)
To: openembedded-core
Hi,
some more stupid questions:
What causes a variable being global (accessible by all recipes)?
Does the declaration in *.conf lead to global variable?
Are there other mechanisms forcing global scope?
Thanks in advance
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What causes a variable being static/global
2012-03-27 15:32 What causes a variable being static/global Andreas Müller
@ 2012-04-01 13:10 ` Andreas Müller
2012-04-01 14:47 ` Chris Larson
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Müller @ 2012-04-01 13:10 UTC (permalink / raw)
To: openembedded-core
On Tue, Mar 27, 2012 at 5:32 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> Hi,
>
> some more stupid questions:
>
> What causes a variable being global (accessible by all recipes)?
> Does the declaration in *.conf lead to global variable?
> Are there other mechanisms forcing global scope?
>
> Thanks in advance
>
> Andreas
Maybe my intention was not clear. For a generic run-once
implementation (see patch for gtk-icon-cache.bbclass [1]) I need
variables which are shared by all recipes. Each recipe can append data
so the 'sum' is used at image creation. What steps are necessary
creating a variable which is existing as one instance for all recipes
using it?
Andreas
[1] http://patches.openembedded.org/patch/24179/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What causes a variable being static/global
2012-04-01 13:10 ` Andreas Müller
@ 2012-04-01 14:47 ` Chris Larson
0 siblings, 0 replies; 3+ messages in thread
From: Chris Larson @ 2012-04-01 14:47 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Sun, Apr 1, 2012 at 6:10 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Tue, Mar 27, 2012 at 5:32 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
>> Hi,
>>
>> some more stupid questions:
>>
>> What causes a variable being global (accessible by all recipes)?
>> Does the declaration in *.conf lead to global variable?
>> Are there other mechanisms forcing global scope?
>>
>> Thanks in advance
>>
>> Andreas
>
> Maybe my intention was not clear. For a generic run-once
> implementation (see patch for gtk-icon-cache.bbclass [1]) I need
> variables which are shared by all recipes. Each recipe can append data
> so the 'sum' is used at image creation. What steps are necessary
> creating a variable which is existing as one instance for all recipes
> using it?
There are no steps, because there is no support for such a thing.
--
Christopher Larson
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-01 14:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-27 15:32 What causes a variable being static/global Andreas Müller
2012-04-01 13:10 ` Andreas Müller
2012-04-01 14:47 ` Chris Larson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.