Poky Project Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: poky@yoctoproject.org
Subject: Re: [PATCH 1/1] poky.conf: move the SDK install into versiondirectories
Date: Fri, 19 Nov 2010 10:38:23 -0600	[thread overview]
Message-ID: <4CE6A7FF.4040507@windriver.com> (raw)
In-Reply-To: <00ec71b3834779b9c4a278b403729f2822a41845.1290179273.git.josh@linux.intel.com>

As we move beyond 1.0 work.  Would it make sense to focus on making sure the SDK
tooling works no matter where it is installed?

The compiler/linker can already do this... the other components that may be part
of the SDK may need some slight changes to detect their current run-time
location and adjust internal paths as necessary.

(We have experience doing this for Wind River Linux, so we should be able to
help out if it's a desired feature for Poky.)

--Mark

On 11/19/10 5:59 AM, Joshua Lock wrote:
> It's desirable to be able to have SDK toolchains installed from multiple
> versions of Poky, enable this by installing the toolchains into a subdirectory
> of /opt/poky/ based on the distro version.
> 
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
>  meta/conf/distro/poky.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
> index b3c9f1a..ca73e64 100644
> --- a/meta/conf/distro/poky.conf
> +++ b/meta/conf/distro/poky.conf
> @@ -60,7 +60,7 @@ POKYLIBC ?= "eglibc"
>  require conf/distro/include/poky-${POKYLIBC}.inc
>  
>  SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
> -SDKPATH = "/opt/${DISTRO}"
> +SDKPATH = "/opt/${DISTRO}/${DISTRO_VERSION}"
>  
>  CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}"
>  



  reply	other threads:[~2010-11-19 16:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-19 15:07 [PATCH 0/1] Enable parallel installations of SDK's from different Poky versions Joshua Lock
2010-11-19 11:59 ` [PATCH 1/1] poky.conf: move the SDK install into version directories Joshua Lock
2010-11-19 16:38   ` Mark Hatle [this message]
2010-11-19 20:23     ` [PATCH 1/1] poky.conf: move the SDK install into versiondirectories Tom Rini
2010-11-23 17:22     ` Joshua Lock
2010-11-28 13:57     ` Richard Purdie
2010-11-19 18:33 ` [PATCH 0/1] Enable parallel installations of SDK's from different Poky versions Scott Garman

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=4CE6A7FF.4040507@windriver.com \
    --to=mark.hatle@windriver.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox