[oe] i'm assuming some "do_<task>[dirs] =" directives are redundant, yes?

Christopher Larson clarson at kergoth.com
Sat Jul 26 23:13:42 UTC 2014


On Sat, Jul 26, 2014 at 5:43 AM, Robert P. J. Day <rpjday at crashcourse.ca>
wrote:

> On Mon, 21 Jul 2014, Christopher Larson wrote:
>
> > On Mon, Jul 21, 2014 at 2:59 AM, Robert P. J. Day <rpjday at crashcourse.ca
> >
> > wrote:
> >
> > >
> > >   pedantic observation -- i notice in base.bbclass:
> > >
> > > do_unpack[dirs] = "${WORKDIR}"
> > >
> > >   and over in patch.bbclass:
> > >
> > > addtask patch after do_unpack
> > > do_patch[dirs] = "${WORKDIR}"
> > >
> > >   so given that patching has been added as a task after unpacking,
> > > wouldn't ${WORKDIR} already be guaranteed to exist? doesn't hurt, of
> > > course, and no, i have no intention of trying to clean any of that up
> > > :-), i just wanted to clarify the actual mechanics.
> >
> >
> > 'dirs' isn't just a list of dirs to create, it also sets the current
> > working directory for the task. The last directory listed is where
> > the path is set.
>
>   is that documented anywhere? the "variable flags" section of the
> bitbake user manual says nothing about that last obviously significant
> property.


Good question, I have no idea :) Clearly it should be somewhere.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list