Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Phil Blundell <philb@gnu.org>
Subject: Re: Machine specific sysroot issue
Date: Mon, 15 Aug 2011 16:57:02 +0100	[thread overview]
Message-ID: <1313423822.14274.595.camel@rex> (raw)
In-Reply-To: <201108151649.40904.paul.eggleton@linux.intel.com>

On Mon, 2011-08-15 at 16:49 +0100, Paul Eggleton wrote:
> On Monday 15 August 2011 16:03:44 Phil Blundell wrote:
> > I can't immediately think why this should be behaving differently to any
> > other library (eglibc for example).  It's quite normal for those
> > packages to be architecture-specific and not machine-specific.
> > 
> > What I think is meant to happen when you change MACHINE is that
> > populate_sysroot will rerun (because ${MACHINE} is factored into the
> > stamp for that task) but it will use all the previously cached build
> > artifacts from sstate and hence you won't end up having to rebuild
> > everything.  It sounds as if that isn't happening in this case for some
> > reason, though I can't immediately think what libopie2 might be doing to
> > defeat it.
> > 
> > Is it just include.pro that goes wrong, or does the whole of libopie2 go
> > missing from the sysroot when you change MACHINE?
> 
> Actually it's just include.pro - everything else gets copied to the sysroot 
> for the new machine just fine.
> 
> I've sort of figured this out. include.pro is getting installed to the sysroot  
> and not ${D} in do_install (and it's the only file handled this way). I'm 
> guessing that because of this it never gets picked up by sstate.

This is the problem. You want to install the file into ${D} and then all
should be well...

Cheers,

Richard




      parent reply	other threads:[~2011-08-15 16:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-14 19:50 Machine specific sysroot issue Paul Eggleton
2011-08-14 22:05 ` Khem Raj
2011-08-15 14:15 ` Richard Purdie
2011-08-15 14:23   ` Paul Eggleton
2011-08-15 14:30     ` Koen Kooi
2011-08-15 14:42       ` Paul Eggleton
2011-08-15 14:58         ` Koen Kooi
2011-08-15 15:03 ` Phil Blundell
2011-08-15 15:49   ` Paul Eggleton
2011-08-15 15:51     ` Khem Raj
2011-08-15 15:52     ` Phil Blundell
2011-08-15 15:57     ` Richard Purdie [this message]

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=1313423822.14274.595.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=philb@gnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox