All of lore.kernel.org
 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>
Subject: Re: [PATCH 1/1] gcc-common.inc: Added shared source support for basichash.
Date: Mon, 16 Jan 2012 16:59:34 +0000	[thread overview]
Message-ID: <1326733174.2933.3.camel@ted> (raw)
In-Reply-To: <2588490b8b8424c96da2824c604929baeb1c5c16.1326714004.git.lianhao.lu@intel.com>

On Mon, 2012-01-16 at 19:43 +0800, Lianhao Lu wrote:
> [YOCTO #1555]
> Adding new mechanism to allow multiple gcc related recipes sharing the
> same src directory when using the basichash as the signature handler.
> 
> Using the same stamp file for multiple gcc related recipes to share the
> same src directory is no longer working when using the basichash
> signature.
> 
> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
> ---
>  meta/recipes-devtools/gcc/gcc-common.inc |   56 ++++++++++++++++++++++++++++++
>  1 files changed, 56 insertions(+), 0 deletions(-)

Can you please check if this can be fixed by:

diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index d014980..3a82720 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -77,6 +77,9 @@ do_headerfix () {
 
 addtask headerfix after do_unpack before do_patch
 
+CROSS_TARGET_SYS_DIR[vardepsexclude] = "PN"
+CROSS_TARGET_SYS_DIR[vardepvalue] = "1"
+
 do_configure_prepend () {
        # teach gcc to find correct target includedir when checking libc ssp support
        mkdir -p ${B}/gcc

as discussed in the "sstate info" thread?

Cheers,

Richard






  reply	other threads:[~2012-01-16 17:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 11:43 [PATCH 0/1] gcc support shared source for basichash Lianhao Lu
2012-01-16 11:43 ` [PATCH 1/1] gcc-common.inc: Added shared source support " Lianhao Lu
2012-01-16 16:59   ` Richard Purdie [this message]
2012-01-17  3:05     ` Lu, Lianhao
2012-01-19  9:12       ` Richard Purdie
2012-01-19  9:40         ` Lu, Lianhao
2012-01-19 10:11           ` Richard Purdie
2012-01-22  3:02       ` Khem Raj

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=1326733174.2933.3.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --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 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.