From patchwork Mon Jan 16 16:59:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] gcc-common.inc: Added shared source support for basichash. Date: Mon, 16 Jan 2012 16:59:34 -0000 From: Richard Purdie X-Patchwork-Id: 19437 Message-Id: <1326733174.2933.3.camel@ted> To: Patches and discussions about the oe-core layer 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 > --- > 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: as discussed in the "sstate info" thread? Cheers, Richard 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