All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: "Hans Beckérus" <hans.beckerus@gmail.com>
Cc: yocto@yoctoproject.org, Chris Larson <clarson@kergoth.com>
Subject: Re: Bitbake on live (uncommitted) code
Date: Fri, 13 Sep 2013 11:51:51 +0100	[thread overview]
Message-ID: <2174378.xcOqzV6t6C@helios> (raw)
In-Reply-To: <CAFyqS9qE1HRBkjDfnzMaz=pac4B1yUon-9QpJdmEqkznVn3kkQ@mail.gmail.com>

Hi Hans,

On Friday 13 September 2013 12:04:48 Hans Beckérus wrote:
> On Fri, Sep 13, 2013 at 11:55 AM, Paul Eggleton
> <paul.eggleton@linux.intel.com> wrote:
> > On Thursday 12 September 2013 17:23:53 Chris Larson wrote:
> >> On Thu, Sep 12, 2013 at 4:53 PM, Brad Litterell <brad@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.
> > 
> > Also the manual section that talks about using it:
> > 
> > http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#buildi
> > ng-software-from-an-external-source
>
> Does this in any way replace the use of the SDK toolchain? Since that
> is what I would be using (and am using) for external development. We
> only use bitbake for the integration stages (pkg upgrades/rootfs/SDK
> builds etc.).
> After a package works and is in some sort of ready state we add it to
> a git repo and write a recipe for it. Maybe that is an alternative
> too?

It's just another tool you can use for development if you already have a 
recipe for the software you're developing, or are going to write one. As I 
mentioned in another thread, the SDK is mostly there to help developers who 
want to do their application development without the need to interact with the 
tool that builds the entire OS (possibly instead from within an IDE).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2013-09-13 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12 23:53 Bitbake on live (uncommitted) code Brad Litterell
2013-09-13  0:23 ` Chris Larson
2013-09-13  9:55   ` Paul Eggleton
2013-09-13 10:04     ` Hans Beckérus
2013-09-13 10:51       ` Paul Eggleton [this message]
2013-09-17 17:48     ` Brad Litterell
2013-09-17 18:01       ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2174378.xcOqzV6t6C@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=clarson@kergoth.com \
    --cc=hans.beckerus@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.