[OE-core] in what recipe context can "bb" show me TOOLCHAIN_HOST_TASK?

Robert P. J. Day rpjday at crashcourse.ca
Sat Oct 22 11:50:40 UTC 2016


On Sat, 22 Oct 2016, Ulf Magnusson wrote:

> Hello,
>
> On Sat, Oct 22, 2016 at 9:39 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> >
> >   a question about chris larson's nifty "bb" utility ... i recently
> > figured out that, to get rpm-build into the SDK, i needed to add:
> >
> > TOOLCHAIN_HOST_TASK += "nativesdk-rpm-build"
> >
> > to my local.conf. now i'd like to use "bb" to display the full
> > value of that variable, but i'm not sure what recipe context to use to
> > do that. as in:
> >
> > $ bb show -r core-image-minimal TOOLCHAIN_HOST_TASK
> > Parsing recipes..done.
> > TOOLCHAIN_HOST_TASK=" nativesdk-rpm-build"
> > $
> >
> > that just shows me what i appended. in what environment or recipe
> > context could i run that command to get the full value of the variable
> > when the SDK is being built?
> >
> > rday
> >
> > p.s. same question if i was using "bitbake -e".
>
> You're seeing the final value of TOOLCHAIN_HOST_TASK (before any
> changes to it within a single task anyway). To extend the default
> value instead of replacing it, you would need to do the following
> (note the space after the "):
>
>   TOOLCHAIN_HOST_TASK_append = " nativesdk-rpm-build"
>
> Below is an explanation of why this works:

  actually, i just noticed that a few minutes ago. i'm well aware of
the difference in processing between += and _append, it just didn't
occur to me to see if there was a difference at the time. duh.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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




More information about the Openembedded-core mailing list