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

Tom Rini tom_rini at mentor.com
Mon Jun 21 20:58:28 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

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list