Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: Machine specific sysroot issue
Date: Sun, 14 Aug 2011 15:05:42 -0700	[thread overview]
Message-ID: <4E4846B6.9080903@gmail.com> (raw)
In-Reply-To: <201108142050.37352.paul.eggleton@linux.intel.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/14/2011 12:50 PM, Paul Eggleton wrote:
> Hi all,
> 
> I've brought over the Opie recipes from OE in preparation for
> creating a separate layer, and after making a few changes everything
> compiles OK; however I'm finding that the change to machine-specific
> sysroots is causing some problems.
> 
> libopie2, a non-machine specific package, among other things installs
> a file called include.pro into ${OPIEDIR}, which is configured to be
>  ${STAGING_DIR_HOST}. In OE-classic ${STAGING_DIR_HOST} is not
> machine-specific, so if you build libopie2 for machine A then build
> some other package that needs include.pro for machine B, then
> everything is fine. In the OE-core case with machine-specific
> sysroots it's looking for the file in the sysroot for the current
> machine, which if you've been building for several different machines
>  may not be where it has actually been installed.
> 
> What's the correct way to fix this? Is libopie2 now installing this
> file in the wrong place?

I think with shared state it should be able to reuse what was built
before. It does not share the target sysroot like oe.dev
as long as the .pro file is part of a package it should be able to stage
it into machine sysroot and use it without causing a recompile

> 
> Cheers, Paul
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5IRrYACgkQuwUzVZGdMxSvEQCfblKkiL3uZLnwyjI+Nhymj9zf
zRUAn1BjKeIcTkHXvTFzAr2M5G0UK8qd
=6zRI
-----END PGP SIGNATURE-----



  reply	other threads:[~2011-08-14 22:10 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 [this message]
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

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=4E4846B6.9080903@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.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