Hi Emil,
On 15/09/15 13:21, Velikov, Emil (E.) wrote:
I would like to ask if you think it would be possible to do the
other
way round e.g. to generate bitbake recipes from .morph files.
I think it would be much easier to do that, because .morph files are
much less flexible than other types of build instructions, and so it is
much easier to do automated processing on them.
If I were doing that for BitBake, I'd generate .bb files that used
meta/classes/base.bbclass from Poky. That should work fine and would
make a lot more sense than trying to write your own base.bbclass.
BitBake would be able to build them, and I think they might be more or
less as easy to work with as the equivalent .morph files.
I don't think any of the higher-level classes (autotools.bbclass, etc.)
would be useful though, as there is a lot of Poky-specific stuff in them.
Sam
--
Sam Thursfield, Codethink Ltd.
Office telephone: +44 161 236 5575