All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Gary Thomas <gary@mlbassoc.com>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: Can't share build trees?
Date: Tue, 03 May 2011 14:25:08 +0100	[thread overview]
Message-ID: <1304429108.21461.109.camel@rex> (raw)
In-Reply-To: <4DBFE86B.7090702@mlbassoc.com>

On Tue, 2011-05-03 at 05:35 -0600, Gary Thomas wrote:
> I have a system which has both PowerPC and ARM/OMAP components.
> They share a common Poky/Yocto layer, so I thought I'd be able
> to also share a build tree.  So, I tried something like this:
>    % . /opt/poky/oe-init-build-env my_target
>    % MACHINE=MY_OMAP bitbake omap-image
>    % MACHINE=MY_PPC bitbake ppc-image
> 
> All seemed fine the first time through.  The images were built
> as expected and worked well.
> 
> Sadly, when I tried to build something else, e.g.
>    % MACHINE=MY_OMAP bitbake some-package
> it set off rebuilding the entire cross tool chain :-(
> 
> Should this work?  or should I just be aware it does not (and mostly
> tell my customers not to expect it to work)?

It should work and its the way I use Poky. Did you update the metadata
between these builds changing the toolchain version for example (e.g.
gcc 4.6.0 testing)?

Cheers,

Richard




  reply	other threads:[~2011-05-03 13:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 11:35 Can't share build trees? Gary Thomas
2011-05-03 13:25 ` Richard Purdie [this message]
2011-05-03 13:28   ` Gary Thomas
2011-05-03 13:31     ` Gary Thomas

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=1304429108.21461.109.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=gary@mlbassoc.com \
    --cc=poky@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.