[oe] [PATCH] Add a waf bitbake class. (Koen Kooi)

Sean_Hudson at Dell.com Sean_Hudson at Dell.com
Tue Jun 22 15:06:27 UTC 2010


> Tom Rini wrote:
> > Sean_Hudson at Dell.com wrote:
> >> On 18-06-10 21:58, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> >> ------------------------------
> >>> On 18-06-10 21:58, Sean_Hudson at Dell.com wrote:
> >>>> Hi All,
> >>>>
> >>>>   We are using waf for some of our modules and decided to add a
> >>>> class to make it easier to write recipes.
> >>> Why is there still a staging method in there? Those have been deprecated
> >>> for months now.
> >>
> >> Thanks for taking the time to reply.  To answer your question, the waf
> >> class was cloned from the autotools.bbclass, so the staging stuff came
> >> from there.  Is there a better way to handle the staging?
> >>
> >> It's a fairly trivial class, but I'm interested to hear if anyone had
> >> any additional thoughts on ways to improve the class?
> >
> > Koen's point is that for a long time now do_stage has been set as legacy
> > and 'do_install' should instead set things up such that a package can
> > then be installed into the sysroots/ directory and reused.  Like
> > autotools.bbclass does today :)
>
> And to be more clear, see is_legacy_staging in staging.bbclass

Thanks for clearing that up.  I've attached an updated version that drops the staging function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: waf.bbclass
Type: application/octet-stream
Size: 516 bytes
Desc: waf.bbclass
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100622/979e1c3f/attachment-0002.obj>


More information about the Openembedded-devel mailing list