Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: OpenEmbedded Devel List <openembedded-devel@openembedded.org>
Subject: Re: [PATCH][STABLE] gcc-canadian-sdk: Fix C++ relocation, add	SYSROOT, use SDK_REALPATH_MINGW, bump PR.
Date: Tue, 28 Apr 2009 13:12:28 -0700	[thread overview]
Message-ID: <20090428201228.GC26082@gmail.com> (raw)
In-Reply-To: <1240589520-1104-9-git-send-email-trini@kernel.crashing.org>

On (24/04/09 09:11), Tom Rini wrote:
> From: Tom Rini <trini@embeddedalley.com>
> 
> 
> Signed-off-by: Tom Rini <trini@embeddedalley.com>

Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
>  recipes/gcc/gcc-canadian-sdk_4.2.4.bb      |    2 +-
>  recipes/gcc/gcc-configure-canadian-sdk.inc |    7 ++++---
>  2 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/recipes/gcc/gcc-canadian-sdk_4.2.4.bb b/recipes/gcc/gcc-canadian-sdk_4.2.4.bb
> index ae3245b..d78ab75 100644
> --- a/recipes/gcc/gcc-canadian-sdk_4.2.4.bb
> +++ b/recipes/gcc/gcc-canadian-sdk_4.2.4.bb
> @@ -1,6 +1,6 @@
>  inherit canadian-sdk
>  
> -PR = "r1"
> +PR = "r2"
>  
>  FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
>  
> diff --git a/recipes/gcc/gcc-configure-canadian-sdk.inc b/recipes/gcc/gcc-configure-canadian-sdk.inc
> index c95a6c4..738b120 100644
> --- a/recipes/gcc/gcc-configure-canadian-sdk.inc
> +++ b/recipes/gcc/gcc-configure-canadian-sdk.inc
> @@ -61,11 +61,12 @@ export WINDRES_FOR_TARGET="${TARGET_PREFIX}windres"
>  EXTRA_OECONF_DEP ?= ""
>  
>  EXTRA_OECONF += ""
> +# On MinGW hosts we want to prepend a drive letter, in ${SDK_REALPATH_MINGW}
> +# to the sysroot path.
> +SYSROOT = "${@['${SDK_REALPATH}/${TARGET_SYS}', '${SDK_REALPATH_MINGW}${SDK_REALPATH}/${TARGET_SYS}'][bb.data.getVar('SDK_OS', d, 1) in ['mingw32', 'mingw64']]}"
>  EXTRA_OECONF_PATHS = " \
> -	--with-local-prefix=$dollar{prefix}/local \
> -	--with-gxx-include-dir=$dollar{prefix}/${TARGET_SYS}/usr/include/c++/${BINV} \
>  	--with-build-sysroot=${STAGING_DIR_TARGET} \
> -	--with-sysroot=${SDK_REALPATH}/${TARGET_SYS} \
> +	--with-sysroot=${SYSROOT} \
>  "
>  
>  do_configure () {
> -- 
> 1.5.6.3
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



  parent reply	other threads:[~2009-04-28 20:17 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 16:11 [PATCH][STABLE] Various SDK-related updates Tom Rini
2009-04-24 16:11 ` [PATCH][STABLE] binutils-cross-sdk: Make relative, not absolute symlinks for 'as', etc, bump PR Tom Rini
2009-04-24 16:11   ` [PATCH][STABLE] gcc-cross-sdk: Fix relocation of the toolchain and " Tom Rini
2009-04-24 16:11     ` [PATCH][STABLE] meta-toolchain, canadian-sdk: Move C++ headers into the correct location, " Tom Rini
2009-04-24 16:11       ` [PATCH][STABLE] meta-toolchain-gpe-sbox: Drop task-sdk-gpephone (to match m-t-gpe), " Tom Rini
2009-04-24 16:11         ` [PATCH][STABLE] wireless-tools: Fix libiw/ifrename packages, " Tom Rini
2009-04-24 16:11           ` [PATCH][STABLE] canadian-sdk: Add SDK_REALPATH_MINGW variable, so that we can prepend a drive letter for sysroot Tom Rini
2009-04-24 16:11             ` [PATCH][STABLE] binutils-canadian-sdk: Use add SYSROOT, use SDK_REALPATH_MINGW, bump PR Tom Rini
2009-04-24 16:11               ` [PATCH][STABLE] gcc-canadian-sdk: Fix C++ relocation, " Tom Rini
2009-04-24 16:11                 ` [PATCH][STABLE] canadian-sdk: We DO want DEPENDS_prepend to always bring in host virtual gcc/binutils Tom Rini
2009-04-24 16:11                   ` [PATCH][STABLE] canadian-sdk: Synchronize (to some extent) canadian-sdk.bb with meta-toolchain.bb Tom Rini
2009-04-24 16:11                     ` [PATCH][STABLE] mingw-gcc, mingw-runtime, mingw-w32api: Fix DEFAULT_PREFERENCES to be correct Tom Rini
2009-04-24 16:12                       ` [PATCH][STABLE] SlugOS: toolchain/sdk - add a number of missing components Tom Rini
2009-04-28 20:20                         ` Khem Raj
2009-04-28 20:18                       ` [PATCH][STABLE] mingw-gcc, mingw-runtime, mingw-w32api: Fix DEFAULT_PREFERENCES to be correct Khem Raj
2009-04-28 20:17                     ` [PATCH][STABLE] canadian-sdk: Synchronize (to some extent) canadian-sdk.bb with meta-toolchain.bb Khem Raj
2009-04-28 20:13                   ` [PATCH][STABLE] canadian-sdk: We DO want DEPENDS_prepend to always bring in host virtual gcc/binutils Khem Raj
2009-04-28 20:12                 ` Khem Raj [this message]
2009-04-28 20:11               ` [PATCH][STABLE] binutils-canadian-sdk: Use add SYSROOT, use SDK_REALPATH_MINGW, bump PR Khem Raj
2009-04-28 16:02           ` [PATCH][STABLE] wireless-tools: Fix libiw/ifrename packages, " Marcin Juszkiewicz
2009-04-25 21:33       ` [PATCH][STABLE] meta-toolchain, canadian-sdk: Move C++ headers into the correct location, " Marcin Juszkiewicz
2009-04-25 22:00         ` Tom Rini
2009-04-24 18:28 ` [PATCH][STABLE] Various SDK-related updates Tom Rini
2009-05-02 21:28   ` Tom Rini
2009-05-05 20:52     ` Tom Rini

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=20090428201228.GC26082@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@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