[yocto] Bitbake on live (uncommitted) code

Chris Larson clarson at kergoth.com
Thu Sep 12 17:23:53 PDT 2013


On Thu, Sep 12, 2013 at 4:53 PM, Brad Litterell <brad at evidence.com> wrote:

> I've grown to really appreciate bitbake for compiling code from a myriad
> of sources, however, what is the recommended course for source I am
> currently doing live development on?  My code base lives in a couple of git
> repos that do NOT map one-to-one with recipes and I don't really want to
> store the source mixed in with the recipe meta data anyway, nor do I want
> to be forced to commit it to git just to do a build.
>
>  Currently I run a pre-bitbake script that creates a tarball out of the
> source, but that is easy to forget and makes building a new image a two
> step proces.  Since it is a build step I'd like it to be done by bitbake.
>
>  Is there a recommended way to go about this?
>

See externalsrc.bbclass.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130912/bc2d43d3/attachment.html>


More information about the yocto mailing list