Tom Rini wrote:
sean_hud...@dell.com wrote:
On 18-06-10 21:58, Koen Kooi <k.k...@student.utwente.nl> wrote:
------------------------------
On 18-06-10 21:58, sean_hud...@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

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to