Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Write a BitBake recipe for Parrot #894
On 12/20/12 6:08 PM, leto wrote:
For the qemu-ignorant amongst us (e.g, me), can you provide (a) a
The latter will enable us how to write a probe for it.
Thank you very much.
Detecting qemu is IMHO worthless.
But we need to detect the bitbake/oe-init-build-env environment, which does an actual cross-compilation.
What I see are two distinct env variables being set:
BUILDDIR must end in build
@rurban what you are describing was my intent for this issue. The last time I looked, the Emacs BitBake recipe used qemu to cross-compile, which is what I want to emulate for Parrot.
I have read the BB recipe for Perl 5 (a while ago) and when I looked, it did many many source modifications to enable cross-compiling, which is not something I want to emulate.
Can you put your parrot.bb in a branch of parrot.git, maybe somewhere in the ports/ directory ?
It's unlikely that Parrot will get included upstream in the openembedded-core or poky repositories directly. However what you can do is create a Parrot "layer" which would allow Parrot support to be easily added to build configurations based on oe-core or poky (what is now known as the Yocto Project from an organizational point of view).
The layer would then be referenced here:
so that people will know of its existence and can make use of it.
Here is some documentation on creating layers for use with the Yocto Project:
I'm happy to answer questions or review the layer once you get going on it.
Scott (Yocto Project core team developer)
Thanks @ScottGarman ! Do you have any suggestions for an already existing meta-layer that we could emulate? Is meta-ruby a good example?