summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-09 18:51:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-11 19:08:02 +0100
commit8f8facbed42afb186a92f314bf2f04c5858f0c3e (patch)
tree1ecfe93fab63b08dc3e40124b62b4ccef0bfb649 /meta/recipes-devtools/gcc/gcc-4.6.inc
parent6697ce28851121fa570b93949b82a36c322e4014 (diff)
downloadpoky-8f8facbed42afb186a92f314bf2f04c5858f0c3e.tar.gz
gcc: Various fixups to ensure consistent gcc builds
We ensure that: * the shared work directory contains PR and ensure PR values are consistent across gcc builds * the regexp to handle library directories is in a specific task and run once This avoids breakage that was seen in incremental builds after commit be1f70d68b6b75772ebab8bdff683ddd7c42b0cd where the interpretor could become corrupted. This was due to the sed expression corrupting the source directory. (From OE-Core rev: 970af6b09e1d69041b0d82fa56ace19543405eb1) 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.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index f952ac88d9..0a148b43b7 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@
1require gcc-common.inc 1require gcc-common.inc
2 2
3PR = "r4" 3PR = "r7"
4 4
5# Third digit in PV should be incremented after a minor release 5# Third digit in PV should be incremented after a minor release
6# happens from this branch on gcc e.g. currently its 4.6.0 6# happens from this branch on gcc e.g. currently its 4.6.0
@@ -73,7 +73,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \
73SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " 73SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
74 74
75#S = "${WORKDIR}/${BRANCH}" 75#S = "${WORKDIR}/${BRANCH}"
76S = "${TMPDIR}/work-shared/gcc-${PV}/${BRANCH}" 76S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}"
77B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}" 77B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}"
78 78
79# Language Overrides 79# Language Overrides