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:56:34 +0100 |
commit | 64be70130548e26f793d24234cdc379fd8b1f0e9 (patch) | |
tree | b44a0de7aa93ce45a4ac7b6e59b36b16461e4968 /meta/recipes-devtools/gcc/gcc-4.6.inc | |
parent | e4f43aa5df696b3773e4ebc54dbb1ef7925e82ee (diff) | |
download | poky-64be70130548e26f793d24234cdc379fd8b1f0e9.tar.gz |
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.
(From OE-Core rev: c1ec5100da76d35afb91de7353599564e5b653dc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 \ | |||
66 | file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ | 66 | file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ |
67 | file://COLLECT_GCC_OPTIONS.patch \ | 67 | file://COLLECT_GCC_OPTIONS.patch \ |
68 | file://volatile_access_backport.patch \ | 68 | file://volatile_access_backport.patch \ |
69 | file://use-defaults.h-and-t-oe-in-B.patch \ | ||
69 | " | 70 | " |
70 | 71 | ||
71 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " | 72 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " |
72 | 73 | ||
73 | S = "${WORKDIR}/${BRANCH}" | 74 | #S = "${WORKDIR}/${BRANCH}" |
75 | S = "${TMPDIR}/work-shared/gcc-${PV}/${BRANCH}" | ||
76 | B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}" | ||
74 | 77 | ||
75 | # Language Overrides | 78 | # Language Overrides |
76 | FORTRAN = "" | 79 | FORTRAN = "" |