[yocto] How to write a recipe whose source code will generate host and target output at the same build?

Qiang Yu yuq825 at gmail.com
Sat Feb 7 19:21:06 PST 2015


Hi all,

I'm writing a recipe for QT5 which will generate both host tools and target
lib at the same build. How can I handle this situation? It doesn't fix
either target or native class.

Can cross class solve this problem? Can cross generate target lib package
and populate both target and host sysroot all at once?

Or I notice a tmp/work-shared dir which can be shared by multi recipes. So
maybe I can write two recipes, one for target lib, one for host tool, which
share the same work dir at tmp/work-shared. Only one build is needed. If
this is possible, how can I use the tmp/work-shared, inherit some special
class?

Regards,
Qiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150208/a4b6abab/attachment.html>


More information about the yocto mailing list