From c1ec5100da76d35afb91de7353599564e5b653dc Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 28 Jun 2011 14:31:53 -0600 Subject: gcc-4.6: share work directories * Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. * Change ${S} to the shared source directory. Signed-off-by: Robert Yang --- meta/recipes-devtools/gcc/gcc-4.6.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/gcc/gcc-4.6.inc') diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index 577e7f7e4..a0120492a 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc @@ -66,11 +66,14 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ file://COLLECT_GCC_OPTIONS.patch \ file://volatile_access_backport.patch \ + file://use-defaults.h-and-t-oe-in-B.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " -S = "${WORKDIR}/${BRANCH}" +#S = "${WORKDIR}/${BRANCH}" +S = "${TMPDIR}/work-shared/gcc-${PV}/${BRANCH}" +B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}" # Language Overrides FORTRAN = "" -- cgit v1.2.3