diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2011-06-28 14:31:53 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 20:37:37 +0100 |
commit | c1ec5100da76d35afb91de7353599564e5b653dc (patch) | |
tree | f359a07657c0e4ef3e4765b47bbda7b543b18dda /meta/recipes-devtools/gcc/gcc-4.6.inc | |
parent | d8c6f6e01421455db30eeb4b0882720874dcb31b (diff) | |
download | openembedded-core-c1ec5100da76d35afb91de7353599564e5b653dc.tar.gz openembedded-core-c1ec5100da76d35afb91de7353599564e5b653dc.tar.bz2 openembedded-core-c1ec5100da76d35afb91de7353599564e5b653dc.zip |
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 <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index 577e7f7e47..a0120492ae 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 = "" |